From b2e90ce918dbcfcee2c72883931ba603e9049e72 Mon Sep 17 00:00:00 2001 From: Sebastien Estienne Date: Wed, 2 Nov 2005 00:10:11 +0000 Subject: [PATCH] * more small fixes for OpenBSD git-svn-id: file:///home/lennart/svn/public/avahi/trunk@922 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-compat-libdns_sd/dns_sd.h | 2 +- avahi-discover-standalone/main.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5