aboutsummaryrefslogtreecommitdiff
path: root/pd/src/x_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'pd/src/x_gui.c')
-rw-r--r--pd/src/x_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pd/src/x_gui.c b/pd/src/x_gui.c
index 6ba58a7b..e83981bb 100644
--- a/pd/src/x_gui.c
+++ b/pd/src/x_gui.c
@@ -8,7 +8,7 @@ away before the panel does... */
#include "m_pd.h"
#include <stdio.h>
#include <string.h>
-#ifdef UNISTD
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif