Browse Source

Merge pull request #723 from jodogne/fix-partial-lsb

partial fix to support Linux Standard Base (LSB)
bel2125 6 years ago
parent
commit
9a716a4392
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/civetweb.c

+ 4 - 0
src/civetweb.c

@@ -59,6 +59,10 @@
 #if defined(__linux__) && !defined(_XOPEN_SOURCE)
 #define _XOPEN_SOURCE 600 /* For flockfile() on Linux */
 #endif
+#if defined(__LSB_VERSION__)
+#define NEED_TIMEGM
+#define NO_THREAD_NAME
+#endif
 #if !defined(_LARGEFILE_SOURCE)
 #define _LARGEFILE_SOURCE /* For fseeko(), ftello() */
 #endif