]> git.meshlink.io Git - catta/commitdiff
* more small fixes for OpenBSD
authorSebastien Estienne <sebastien.estienne@gmail.com>
Wed, 2 Nov 2005 00:10:11 +0000 (00:10 +0000)
committerSebastien Estienne <sebastien.estienne@gmail.com>
Wed, 2 Nov 2005 00:10:11 +0000 (00:10 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@922 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-compat-libdns_sd/dns_sd.h
avahi-discover-standalone/main.c

index fa18cce743257ce9dac49ffc5ec66af445fa04d1..0d8a5836a05caa37830036c0c13fd54f656ed630 100644 (file)
@@ -39,7 +39,7 @@
 #define DNSSD_API
 #endif
 
-#if defined(__FreeBSD_version) && (__FreeBSD_version < 500000)
+#if defined(__FreeBSD_version) && (__FreeBSD_version < 500000) || defined(__OpenBSD__)
 /* stdint.h does not exist on FreeBSD 4.x; its types are defined in sys/types.h instead */
 #include <sys/types.h>
 #elif defined(__sun__)
index e77a0076ad99d94dd6fc013f30619a6ef493df59..90c74f310fab874e187e43a24091dffb229dcfe8 100644 (file)
@@ -25,6 +25,7 @@
 
 #include <sys/ioctl.h>
 #include <string.h>
+#include <sys/types.h>
 #include <sys/socket.h>
 #include <net/if.h>
 #include <unistd.h>