From: Ondrej Filip Date: Sun, 10 May 2009 23:32:49 +0000 (+0200) Subject: OpenBSD port related changes. X-Git-Tag: v1.2.0~103^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef9c9ab9b64a6f3b5154e5340ffdcd1d211ec4c5;p=thirdparty%2Fbird.git OpenBSD port related changes. --- diff --git a/configure.in b/configure.in index 13e4e852b..542dd1545 100644 --- a/configure.in +++ b/configure.in @@ -114,6 +114,10 @@ else ;; ipv4:freebsd*) sysdesc=bsd ;; + ipv6:openbsd*) sysdesc=bsd-v6 + ;; + ipv4:openbsd*) sysdesc=bsd + ;; *) AC_MSG_ERROR([Cannot determine correct system configuration. Please use --with-sysconfig to set it manually.]) ;; esac diff --git a/sysdep/autoconf.h.in b/sysdep/autoconf.h.in index 6cf90aa6c..66e66a845 100644 --- a/sysdep/autoconf.h.in +++ b/sysdep/autoconf.h.in @@ -54,3 +54,7 @@ /* struct sockaddr_in(6) */ #undef HAVE_SIN_LEN + +/* We have stdint.h */ +#undef HAVE_STDINT_H + diff --git a/sysdep/unix/endian.h b/sysdep/unix/endian.h index 58c746f01..bc4863138 100644 --- a/sysdep/unix/endian.h +++ b/sysdep/unix/endian.h @@ -13,5 +13,8 @@ #include #include +#ifdef HAVE_STDINT_H +#include +#endif #endif