diff options
author | Ondrej Filip <feela@majklik.network.cz> | 2009-05-11 01:32:49 +0200 |
---|---|---|
committer | Ondrej Filip <feela@majklik.network.cz> | 2009-05-11 01:32:49 +0200 |
commit | ef9c9ab9b64a6f3b5154e5340ffdcd1d211ec4c5 (patch) | |
tree | 843d02d359632f459b94129a16ec89a6b2d85780 | |
parent | dd8d2acd3c4ed7d7eb56ca9dbb7c9a6d43e2a869 (diff) | |
download | bird-ef9c9ab9b64a6f3b5154e5340ffdcd1d211ec4c5.tar bird-ef9c9ab9b64a6f3b5154e5340ffdcd1d211ec4c5.zip |
OpenBSD port related changes.
-rw-r--r-- | configure.in | 4 | ||||
-rw-r--r-- | sysdep/autoconf.h.in | 4 | ||||
-rw-r--r-- | sysdep/unix/endian.h | 3 |
3 files changed, 11 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 13e4e85..542dd15 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 6cf90aa..66e66a8 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 58c746f..bc48631 100644 --- a/sysdep/unix/endian.h +++ b/sysdep/unix/endian.h @@ -13,5 +13,8 @@ #include <sys/types.h> #include <netinet/in.h> +#ifdef HAVE_STDINT_H +#include <stdint.h> +#endif #endif |