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