summaryrefslogtreecommitdiff
path: root/src/ralloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ralloc.c')
-rw-r--r--src/ralloc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ralloc.c b/src/ralloc.c
index 183db755412..38adc795a91 100644
--- a/src/ralloc.c
+++ b/src/ralloc.c
@@ -28,7 +28,9 @@ Boston, MA 02111-1307, USA. */
#include <config.h>
#include "lisp.h" /* Needed for VALBITS. */
-
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
#undef NULL
/* The important properties of this type are that 1) it's a pointer, and