diff options
author | Samuel Thibault | 2007-11-28 10:40:32 +0100 |
---|---|---|
committer | Karel Zak | 2007-11-28 10:41:26 +0100 |
commit | e460a5bf893227ccd7cdc9b8e5beec1ebc30a858 (patch) | |
tree | 0a3e4f29b76835d95a4d890efd935b6a1fdb7297 /configure.ac | |
parent | fdisk: non-linux support (MAXPATHLEN) (diff) | |
download | kernel-qcow2-util-linux-e460a5bf893227ccd7cdc9b8e5beec1ebc30a858.tar.gz kernel-qcow2-util-linux-e460a5bf893227ccd7cdc9b8e5beec1ebc30a858.tar.xz kernel-qcow2-util-linux-e460a5bf893227ccd7cdc9b8e5beec1ebc30a858.zip |
build-sys: cleanup usage of linux/major.h
The utils like fdisk or login are usable on non-linux systems.
This patch allows to compile on systems without linux/major.h.
Signed-off-by: Karel Zak <kzak@redhat.com>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index ed12e60b5..8a1d96d7e 100644 --- a/configure.ac +++ b/configure.ac @@ -33,7 +33,7 @@ AC_PATH_PROG(VOLID, vol_id, [], [$PATH:/lib/udev]) AC_SYS_LARGEFILE -AC_CHECK_HEADERS([linux/compiler.h linux/blkpg.h], [], [], [ +AC_CHECK_HEADERS([linux/compiler.h linux/blkpg.h linux/major.h], [], [], [ #ifdef HAVE_LINUX_COMPILER_H #include <linux/compiler.h> #endif |