diff options
author | hpa <hpa> | 2005-01-05 03:17:01 +0000 |
---|---|---|
committer | hpa <hpa> | 2005-01-05 03:17:01 +0000 |
commit | 90f37130e29f481796345ccc9d9e143f11f84050 (patch) | |
tree | 80445880c27ca67520a69833e1214f5f101d7b78 /extlinux | |
parent | ec013c7934485ee3b195ea99f03590a47b8cb0d7 (diff) | |
download | syslinux.git-90f37130e29f481796345ccc9d9e143f11f84050.tar.gz syslinux.git-90f37130e29f481796345ccc9d9e143f11f84050.tar.xz syslinux.git-90f37130e29f481796345ccc9d9e143f11f84050.zip |
Total hack to work around machines with broken BLKGETSIZE64 definition.
Diffstat (limited to 'extlinux')
-rw-r--r-- | extlinux/extlinux.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/extlinux/extlinux.c b/extlinux/extlinux.c index b9d0d0b7..ad1ac6d6 100644 --- a/extlinux/extlinux.c +++ b/extlinux/extlinux.c @@ -18,6 +18,9 @@ */ #define _GNU_SOURCE /* Enable everything */ +#include <inttypes.h> +/* This is needed to deal with the kernel headers imported into glibc 3.3.3. */ +typedef uint64_t u64; #include <alloca.h> #include <errno.h> #include <fcntl.h> @@ -26,7 +29,6 @@ #include <mntent.h> #include <stdlib.h> #include <string.h> -#include <inttypes.h> #include <getopt.h> #include <sysexits.h> #include <sys/ioctl.h> |