]> arthur.barton.de Git - netatalk.git/commitdiff
Reapply ugly hack for sys/socket.h include
authorFrank Lahm <franklahm@googlemail.com>
Thu, 14 Oct 2010 09:33:12 +0000 (11:33 +0200)
committerFrank Lahm <franklahm@googlemail.com>
Thu, 14 Oct 2010 09:33:12 +0000 (11:33 +0200)
etc/cnid_dbd/cnid_metad.c
etc/cnid_dbd/comm.c

index bdeb8898978901b7b4f04ce6b39640fcd02416ae..7c5210745e47fee8d06bea6adda1c46285097945 100644 (file)
@@ -43,6 +43,7 @@
 #include <sys/wait.h>
 #include <sys/uio.h>
 #include <sys/un.h>
+#define _XPG4_2 1
 #include <sys/socket.h>
 #include <stdio.h>
 #include <time.h>
index 03827b4ec0ce355d48642239e67dff56531e8228..6587c00a788a2e1a55875f28492976d01bd503ee 100644 (file)
@@ -18,6 +18,7 @@
 #include <sys/types.h>
 #include <sys/time.h>
 #include <sys/uio.h>
+#define _XPG4_2 1
 #include <sys/socket.h>
 #include <sys/select.h>
 #include <assert.h>