From: Sebastien Estienne Date: Wed, 2 Nov 2005 00:10:11 +0000 (+0000) Subject: * more small fixes for OpenBSD X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=b2e90ce918dbcfcee2c72883931ba603e9049e72;p=catta * more small fixes for OpenBSD git-svn-id: file:///home/lennart/svn/public/avahi/trunk@922 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- diff --git a/avahi-compat-libdns_sd/dns_sd.h b/avahi-compat-libdns_sd/dns_sd.h index fa18cce..0d8a583 100644 --- a/avahi-compat-libdns_sd/dns_sd.h +++ b/avahi-compat-libdns_sd/dns_sd.h @@ -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 #elif defined(__sun__) diff --git a/avahi-discover-standalone/main.c b/avahi-discover-standalone/main.c index e77a007..90c74f3 100644 --- a/avahi-discover-standalone/main.c +++ b/avahi-discover-standalone/main.c @@ -25,6 +25,7 @@ #include #include +#include #include #include #include