]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - net.c
Introduce para_sigaction().
[paraslash.git] / net.c
diff --git a/net.c b/net.c
index 2a3fc72be0ad446fa101dcbd9459107fb49f50dd..88b3e3cc8aee0b2fadfd7783c763b062b8ac0d24 100644 (file)
--- a/net.c
+++ b/net.c
@@ -6,6 +6,12 @@
 
 /** \file net.c Networking-related helper functions. */
 
+/*
+ * Since glibc 2.8, the _GNU_SOURCE feature test macro must be defined in order
+ * to obtain the definition of the ucred structure.
+ */
+#define _GNU_SOURCE
+
 #include <netdb.h>
 
 /* At least NetBSD needs these. */