diff options
| -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 e89f94662aa..5b95c938f7b 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>  | 
