diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2010-11-04 18:45:10 -0400 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2010-11-04 18:45:10 -0400 |
commit | 04dd349103ac1db8660d5c4fd86e91e3b488650c (patch) | |
tree | b7c9676c91fadb8643ee4d0b9968d9f6fde12a7e | |
parent | bb9660b2205afcc309de005365a234bf7be46ab3 (diff) |
Fix compilation eror against Linux 2.6.36
Include <stdint.h> so that <linux/fs.h> can use uint64_t. Arguably a bug in the
kernel headers, but it costs us nothing to safeguard against it.
CC libupshared_la-up-device-idevice.lo
In file included from sysfs-utils.c:39:0:
/usr/include/linux/fs.h:37:2: error: expected specifier-qualifier-list before ‘uint64_t’
-rw-r--r-- | src/linux/sysfs-utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/linux/sysfs-utils.c b/src/linux/sysfs-utils.c index 01c3623..efba253 100644 --- a/src/linux/sysfs-utils.c +++ b/src/linux/sysfs-utils.c @@ -36,6 +36,7 @@ #include <fcntl.h> #include <pwd.h> #include <grp.h> +#include <stdint.h> #include <linux/fs.h> #include <sys/ioctl.h> #include <glib.h> |