1 From 01128a2d8ad3288e8b96a908888049f186d156ee Mon Sep 17 00:00:00 2001
2 From: Bernd Kuhls <bernd.kuhls@t-online.de>
3 Date: Sat, 21 May 2016 19:44:48 +0200
4 Subject: [PATCH 1/1] Rework headers includes to fix build with musl libc
7 http://git.alpinelinux.org/cgit/aports/plain/main/openpgm/openpgm-fix-includes.patch
8 and adjusted paths by prefixing with "openpgm/pgm/"
10 A build log with the compile error can be found here:
11 http://autobuild.buildroot.net/results/854/854554827ead82f29b293ddceced6eb7fbfeec27/build-end.log
13 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
14 (Patch sent upstream: https://github.com/steve-o/openpgm/pull/44)
16 openpgm/pgm/include/impl/security.h | 3 ++-
17 openpgm/pgm/include/pgm/types.h | 1 +
18 2 files changed, 3 insertions(+), 1 deletion(-)
20 diff --git a/openpgm/pgm/include/impl/security.h b/openpgm/pgm/include/impl/security.h
21 index c2b3e3d..896316f 100644
22 --- a/openpgm/pgm/include/impl/security.h
23 +++ b/openpgm/pgm/include/impl/security.h
27 #include <sys/types.h>
28 -#include <sys/timeb.h>
29 #include <impl/i18n.h>
30 #include <impl/errno.h>
31 #include <impl/string.h>
36 +#include <sys/timeb.h>
40 # if !defined( _WIN32 )
41 diff --git a/openpgm/pgm/include/pgm/types.h b/openpgm/pgm/include/pgm/types.h
42 index 4e41261..58731a3 100644
43 --- a/openpgm/pgm/include/pgm/types.h
44 +++ b/openpgm/pgm/include/pgm/types.h
48 # include <sys/param.h>
49 +# include <sys/types.h>
51 #include <pgm/macros.h>