summaryrefslogtreecommitdiff
blob: 56bc89af0291a69566a3f0a10f841c8f3b6cd992 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- liblash/socket.c.old	2008-06-26 15:20:44.227064193 +0200
+++ liblash/socket.c	2008-06-26 15:21:18.245063129 +0200
@@ -20,6 +20,11 @@
 
 #define _POSIX_SOURCE /* addrinfo */
 
+#ifdef LASH_BUILD
+#define _GNU_SOURCE
+#include "config.h"
+#endif /* LASH_BUILD */
+
 #include <stdint.h>
 #include <sys/types.h>
 #include <sys/socket.h>