diff configure @ 28420:606c3c97229c

swab() needs _XOPEN_SOURCE to be defined. Fixes two implicit declaration warnings.
author reimar
date Tue, 03 Feb 2009 10:39:56 +0000
parents e705056e492e
children fe584a095dfd
line wrap: on
line diff
--- a/configure	Tue Feb 03 10:21:17 2009 +0000
+++ b/configure	Tue Feb 03 10:39:56 2009 +0000
@@ -3564,6 +3564,7 @@
 
 echocheck "swab()"
 cat > $TMPC << EOF
+#define _XOPEN_SOURCE
 #include <unistd.h>
 int main(void) { swab(0, 0, 0); return 0; }
 EOF