summaryrefslogtreecommitdiff
path: root/ghc/hschooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/hschooks.c')
-rw-r--r--ghc/hschooks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/hschooks.c b/ghc/hschooks.c
index ace28be64c..031cb02d1a 100644
--- a/ghc/hschooks.c
+++ b/ghc/hschooks.c
@@ -18,7 +18,7 @@ in instead of the defaults.
#include <string.h>
#include <stdbool.h>
-#ifdef HAVE_UNISTD_H
+#if defined(HAVE_UNISTD_H)
#include <unistd.h>
#endif