diff options
Diffstat (limited to 'libglusterfs/src/iatt.h')
-rw-r--r-- | libglusterfs/src/iatt.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libglusterfs/src/iatt.h b/libglusterfs/src/iatt.h index 2b2f7b9e503..b8907598b18 100644 --- a/libglusterfs/src/iatt.h +++ b/libglusterfs/src/iatt.h @@ -12,6 +12,9 @@ #ifndef _IATT_H #define _IATT_H +#if defined(GF_LINUX_HOST_OS) +#include <sys/sysmacros.h> /* for makedev(3), major(3), minor(3) */ +#endif #include <sys/types.h> #include <sys/stat.h> /* for iatt <--> stat conversions */ #include <unistd.h> |