openbsd-ports/devel/ptlib/patches/patch-src_ptlib_unix_tlib_cxx
2012-08-25 13:15:23 +00:00

15 lines
611 B
Plaintext

$OpenBSD: patch-src_ptlib_unix_tlib_cxx,v 1.2 2012/08/25 13:15:24 ajacoutot Exp $
--- src/ptlib/unix/tlib.cxx.orig Thu Aug 23 04:12:27 2012
+++ src/ptlib/unix/tlib.cxx Fri Aug 24 08:00:15 2012
@@ -70,6 +70,10 @@
#include <sys/mman.h>
#endif
+#ifdef P_OPENBSD
+#include <sys/stdint.h>
+#endif
+
#if defined(P_LINUX) || defined(P_SUN4) || defined(P_SOLARIS) || defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD) || defined(P_MACOSX) || defined(P_MACOS) || defined (P_AIX) || defined(P_BEOS) || defined(P_IRIX) || defined(P_QNX) || defined(P_GNU_HURD)
#include <sys/utsname.h>
#define HAS_UNAME