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