aboutsummaryrefslogtreecommitdiffstats
path: root/community/openpgm/openpgm-fix-includes.patch
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-03-16 02:26:02 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-03-23 12:07:30 -0300
commit41ab224df12b8487004a1522b4f671680c082954 (patch)
tree9ebbc4ea5d1cfb82757ca1fd862b67e444a712a2 /community/openpgm/openpgm-fix-includes.patch
parent1f40937c55d742c7ae05db34c966c3dd2d6595e7 (diff)
community/*: move lots of stuff from main and modernize
Diffstat (limited to 'community/openpgm/openpgm-fix-includes.patch')
-rw-r--r--community/openpgm/openpgm-fix-includes.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/openpgm/openpgm-fix-includes.patch b/community/openpgm/openpgm-fix-includes.patch
new file mode 100644
index 00000000000..6f1e5901fcc
--- /dev/null
+++ b/community/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 )
+