]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
OpenBSD port related changes.
authorOndrej Filip <feela@majklik.network.cz>
Sun, 10 May 2009 23:32:49 +0000 (01:32 +0200)
committerOndrej Filip <feela@majklik.network.cz>
Sun, 10 May 2009 23:32:49 +0000 (01:32 +0200)
configure.in
sysdep/autoconf.h.in
sysdep/unix/endian.h

index 13e4e852b523b643fd117a775f8cfd66c97881f8..542dd15457512177ea2120335828fb0898699245 100644 (file)
@@ -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
index 6cf90aa6c16bf6bbe3f4114052cbf0b1746c36aa..66e66a845ff9635a7a662cc253447139fbc610e0 100644 (file)
@@ -54,3 +54,7 @@
 
 /* struct sockaddr_in(6) */
 #undef HAVE_SIN_LEN
+
+/* We have stdint.h */
+#undef HAVE_STDINT_H
+
index 58c746f0196a7f9397145f85615cdc572f9a2c61..bc4863138c14b5a57b688541c5b475a13f65e921 100644 (file)
@@ -13,5 +13,8 @@
 
 #include <sys/types.h>
 #include <netinet/in.h>
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
 
 #endif