diff options
author | Darren Tucker <dtucker@zip.com.au> | 2006-10-16 19:49:12 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2006-10-16 19:49:12 +1000 |
commit | a43c00582549a440fb744bdf8849ae53f97c9bc5 (patch) | |
tree | 01dbcdffb81bdf239225dc0ae1ff8cb8d163b28c /monitor_fdpass.c | |
parent | 77674b1efa744ad03eca3ca1cfcff3abecd55134 (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.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/monitor_fdpass.c b/monitor_fdpass.c index c5fc4c397..9f8e9cd55 100644 --- a/monitor_fdpass.c +++ b/monitor_fdpass.c | |||
@@ -29,6 +29,9 @@ | |||
29 | #include <sys/types.h> | 29 | #include <sys/types.h> |
30 | #include <sys/socket.h> | 30 | #include <sys/socket.h> |
31 | #include <sys/uio.h> | 31 | #include <sys/uio.h> |
32 | #ifdef HAVE_SYS_UN_H | ||
33 | #include <sys/un.h> | ||
34 | #endif | ||
32 | 35 | ||
33 | #include <errno.h> | 36 | #include <errno.h> |
34 | #include <string.h> | 37 | #include <string.h> |