From 01128a2d8ad3288e8b96a908888049f186d156ee Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sat, 21 May 2016 19:44:48 +0200 Subject: [PATCH 1/1] Rework headers includes to fix build with musl libc Downloaded patch from http://git.alpinelinux.org/cgit/aports/plain/main/openpgm/openpgm-fix-includes.patch and adjusted paths by prefixing with "openpgm/pgm/" A build log with the compile error can be found here: http://autobuild.buildroot.net/results/854/854554827ead82f29b293ddceced6eb7fbfeec27/build-end.log Signed-off-by: Bernd Kuhls (Patch sent upstream: https://github.com/steve-o/openpgm/pull/44) --- openpgm/pgm/include/impl/security.h | 3 ++- openpgm/pgm/include/pgm/types.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/openpgm/pgm/include/impl/security.h b/openpgm/pgm/include/impl/security.h index c2b3e3d..896316f 100644 --- a/openpgm/pgm/include/impl/security.h +++ b/openpgm/pgm/include/impl/security.h @@ -33,7 +33,6 @@ #include #include #include -#include #include #include #include @@ -41,6 +40,8 @@ PGM_BEGIN_DECLS #ifdef HAVE_FTIME +#include + static inline errno_t # if !defined( _WIN32 ) diff --git a/openpgm/pgm/include/pgm/types.h b/openpgm/pgm/include/pgm/types.h index 4e41261..58731a3 100644 --- a/openpgm/pgm/include/pgm/types.h +++ b/openpgm/pgm/include/pgm/types.h @@ -27,6 +27,7 @@ #ifndef _MSC_VER # include +# include #endif #include -- 2.8.1