summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk/gtksecurememory.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtksecurememory.c b/gtk/gtksecurememory.c
index 55db84398b..5e3978ec28 100644
--- a/gtk/gtksecurememory.c
+++ b/gtk/gtksecurememory.c
@@ -44,7 +44,11 @@
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
+
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif
+
#include <assert.h>
#ifdef WITH_VALGRIND