OpenBSD port related changes.

This commit is contained in:
Ondrej Filip 2009-05-11 01:32:49 +02:00
parent dd8d2acd3c
commit ef9c9ab9b6
3 changed files with 11 additions and 0 deletions

View file

@ -114,6 +114,10 @@ else
;; ;;
ipv4:freebsd*) sysdesc=bsd 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.]) *) AC_MSG_ERROR([Cannot determine correct system configuration. Please use --with-sysconfig to set it manually.])
;; ;;
esac esac

View file

@ -54,3 +54,7 @@
/* struct sockaddr_in(6) */ /* struct sockaddr_in(6) */
#undef HAVE_SIN_LEN #undef HAVE_SIN_LEN
/* We have stdint.h */
#undef HAVE_STDINT_H

View file

@ -13,5 +13,8 @@
#include <sys/types.h> #include <sys/types.h>
#include <netinet/in.h> #include <netinet/in.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#endif #endif