about summary refs log tree commit diff
path: root/other/pamx/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'other/pamx/window.c')
-rw-r--r--other/pamx/window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/other/pamx/window.c b/other/pamx/window.c
index 3cded1b3..e2de1577 100644
--- a/other/pamx/window.c
+++ b/other/pamx/window.c
@@ -6,6 +6,7 @@
    See COPYRIGHT file for copyright information.
 */
 
+#define _XOPEN_SOURCE 500  /* Make sure strdup() is in string.h */
 #define _BSD_SOURCE    /* Make sure strcaseeq() is in nstring.h */
 
 #include <assert.h>