aboutsummaryrefslogtreecommitdiffstats
path: root/pw.c
diff options
context:
space:
mode:
Diffstat (limited to 'pw.c')
-rw-r--r--pw.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/pw.c b/pw.c
index 68bf58c..23a7beb 100644
--- a/pw.c
+++ b/pw.c
@@ -44,6 +44,9 @@
#include <errno.h>
#include <signal.h>
#include <regex.h>
+#ifdef _DARWIN_C_SOURCE
+#include "macpoll.h"
+#endif
#define ctrl(ch) ((ch) & 0x1f)
#define BS 8