summaryrefslogtreecommitdiffstats
path: root/main/openpgm/openpgm-fix-includes.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-09-20 14:06:49 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-09-20 14:07:46 +0000
commit78075744e7705bf9c5af51708b119ce1f2b09645 (patch)
tree2fb113ce57a05d499612689248e9ef067a6c8bf0 /main/openpgm/openpgm-fix-includes.patch
parent2025a625e69398c4a81942971a893e11a9b31a51 (diff)
downloadaports-78075744e7705bf9c5af51708b119ce1f2b09645.tar.bz2
aports-78075744e7705bf9c5af51708b119ce1f2b09645.tar.xz
main/openpgm: new aport
An implementation of the PGM reliable multicast protocol https://code.google.com/p/openpgm/
Diffstat (limited to 'main/openpgm/openpgm-fix-includes.patch')
-rw-r--r--main/openpgm/openpgm-fix-includes.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/main/openpgm/openpgm-fix-includes.patch b/main/openpgm/openpgm-fix-includes.patch
new file mode 100644
index 000000000..6f1e5901f
--- /dev/null
+++ b/main/openpgm/openpgm-fix-includes.patch
@@ -0,0 +1,30 @@
+--- ./include/pgm/types.h
++++ ./include/pgm/types.h
+@@ -27,6 +27,7 @@
+
+ #ifndef _MSC_VER
+ # include <sys/param.h>
++# include <sys/types.h>
+ #endif
+ #include <pgm/macros.h>
+
+--- ./include/impl/security.h
++++ ./include/impl/security.h
+@@ -33,7 +33,6 @@
+ #include <stdio.h>
+ #include <stdarg.h>
+ #include <sys/types.h>
+-#include <sys/timeb.h>
+ #include <impl/i18n.h>
+ #include <impl/errno.h>
+ #include <impl/string.h>
+@@ -41,6 +40,8 @@
+ PGM_BEGIN_DECLS
+
+ #ifdef HAVE_FTIME
++#include <sys/timeb.h>
++
+ static inline
+ errno_t
+ # if !defined( _WIN32 )
+