summaryrefslogtreecommitdiffstats
path: root/xpread.c
diff options
context:
space:
mode:
Diffstat (limited to 'xpread.c')
-rw-r--r--xpread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xpread.c b/xpread.c
index 8cea02e..6fa9cfc 100644
--- a/xpread.c
+++ b/xpread.c
@@ -1,3 +1,4 @@
+#define _XOPEN_SOURCE 500 /* Needed for pread() */
#include <errno.h>
#include <stdlib.h>
#include <unistd.h>