summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/console.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/console.c b/src/plugins/console.c
index e80843944..df847ea54 100644
--- a/src/plugins/console.c
+++ b/src/plugins/console.c
@@ -7,6 +7,8 @@
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#else
+ #define __USE_XOPEN
+ #include <features.h>
#include <sys/types.h>
#include <unistd.h>
#include <poll.h>