diff options
author | Sebastien Estienne <sebastien.estienne@gmail.com> | 2005-10-28 22:30:56 +0000 |
---|---|---|
committer | Sebastien Estienne <sebastien.estienne@gmail.com> | 2005-10-28 22:30:56 +0000 |
commit | eee711106f721fc73a1ef50348984b7a1d9cb595 (patch) | |
tree | b4f05351d046fec9bf454c381b5fdb4018cf9e4f /avahi-core/socket.c | |
parent | 48f053dc87279e2e3cad561db5b744cbcbf32387 (diff) |
* many trivial fix to make avahi compile on OpenBSD
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@903 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-core/socket.c')
-rw-r--r-- | avahi-core/socket.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/avahi-core/socket.c b/avahi-core/socket.c index 0487023..a73bee8 100644 --- a/avahi-core/socket.c +++ b/avahi-core/socket.c @@ -27,9 +27,6 @@ #include <errno.h> #include <string.h> #include <stdio.h> -#include <sys/socket.h> -#include <netinet/in.h> -#include <arpa/inet.h> #include <unistd.h> #include <fcntl.h> #include <sys/time.h> @@ -37,6 +34,12 @@ #include <sys/ioctl.h> #include <assert.h> +#include <sys/types.h> +#include <sys/socket.h> +#include <netinet/in.h> +#include <arpa/inet.h> +#include <sys/uio.h> + #ifdef IP_RECVIF #include <net/if_dl.h> #endif |