summaryrefslogtreecommitdiff
path: root/monitor_fdpass.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2006-10-16 19:49:12 +1000
committerDarren Tucker <dtucker@zip.com.au>2006-10-16 19:49:12 +1000
commita43c00582549a440fb744bdf8849ae53f97c9bc5 (patch)
tree01dbcdffb81bdf239225dc0ae1ff8cb8d163b28c /monitor_fdpass.c
parent77674b1efa744ad03eca3ca1cfcff3abecd55134 (diff)
- (dtucker) [monitor_fdpass.c] Include sys/in.h, required for cmsg macros
on older (2.0) Linuxes. Based on patch from thmo-13 at gmx de.
Diffstat (limited to 'monitor_fdpass.c')
-rw-r--r--monitor_fdpass.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/monitor_fdpass.c b/monitor_fdpass.c
index c5fc4c39..9f8e9cd5 100644
--- a/monitor_fdpass.c
+++ b/monitor_fdpass.c
@@ -29,6 +29,9 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/uio.h>
+#ifdef HAVE_SYS_UN_H
+#include <sys/un.h>
+#endif
#include <errno.h>
#include <string.h>