diff options
Diffstat (limited to 'net/librdkafka/files/patch-src_rd.h')
-rw-r--r-- | net/librdkafka/files/patch-src_rd.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net/librdkafka/files/patch-src_rd.h b/net/librdkafka/files/patch-src_rd.h new file mode 100644 index 000000000000..7484d4711d47 --- /dev/null +++ b/net/librdkafka/files/patch-src_rd.h @@ -0,0 +1,15 @@ +--- src/rd.h.orig 2017-01-25 12:25:17 UTC ++++ src/rd.h +@@ -38,6 +38,12 @@ + #ifndef _POSIX_C_SOURCE + #define _POSIX_C_SOURCE 200809L /* for timespec on solaris */ + #endif ++#ifndef __XSI_VISIBLE ++#define __XSI_VISIBLE 700 /* for gettimeofday() */ ++#endif ++#ifndef __BSD_VISIBLE ++#define __BSD_VISIBLE 1 /* for alloca() */ ++#endif + #endif + + #include <stdio.h> |