diff --git a/packages/libuuid/gen_uuid.c.patch b/packages/libuuid/gen_uuid.c.patch new file mode 100644 index 000000000..b51b6c001 --- /dev/null +++ b/packages/libuuid/gen_uuid.c.patch @@ -0,0 +1,20 @@ +diff -u -r ../libuuid-1.0.3/gen_uuid.c ./gen_uuid.c +--- ../libuuid-1.0.3/gen_uuid.c 2014-08-12 10:07:18.000000000 +0200 ++++ ./gen_uuid.c 2017-07-07 01:46:59.528994512 +0200 +@@ -38,6 +38,8 @@ + */ + #define _SVID_SOURCE + ++#include "c.h" ++ + #ifdef _WIN32 + #define _WIN32_WINNT 0x0500 + #include +@@ -91,7 +97,6 @@ + #include "uuidP.h" + #include "uuidd.h" + #include "randutils.h" +-#include "c.h" + + #ifdef HAVE_TLS + #define THREAD_LOCAL static __thread