diff options
Diffstat (limited to 'libglusterfs/src/glusterfs/compat.h')
-rw-r--r-- | libglusterfs/src/glusterfs/compat.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libglusterfs/src/glusterfs/compat.h b/libglusterfs/src/glusterfs/compat.h index d2686499973..bf00d903152 100644 --- a/libglusterfs/src/glusterfs/compat.h +++ b/libglusterfs/src/glusterfs/compat.h @@ -528,6 +528,9 @@ dirname_r(char *path); /* Use run API, see run.h */ #include <stdlib.h> /* system(), mkostemp() */ #include <stdio.h> /* popen() */ +#ifdef GF_LINUX_HOST_OS +#include <sys/sysmacros.h> +#endif #pragma GCC poison system mkostemp popen #endif |