aboutsummaryrefslogtreecommitdiffstats
path: root/src/data-user.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/data-user.c')
-rw-r--r--src/data-user.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/data-user.c b/src/data-user.c
index 79e62ba9..65065e7a 100644
--- a/src/data-user.c
+++ b/src/data-user.c
@@ -22,7 +22,9 @@
#include <config.h>
#endif
-#include <sys/types.h>
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
#include <errno.h>
#include "debug.h"