]> pd.if.org Git - zpackage/commitdiff
add needed headers to lzma files
authorNathan Wagner <nw@hydaspes.if.org>
Mon, 19 Sep 2016 03:00:21 +0000 (03:00 +0000)
committerNathan Wagner <nw@hydaspes.if.org>
Mon, 19 Sep 2016 03:00:21 +0000 (03:00 +0000)
lzma/rangecoder/range_common.h
lzma/rangecoder/range_encoder.h
lzma/tuklib/mythread.h

index 0e6424198d13d175799094df71014631b098ea9d..ce6b9db6215f72e7cd26cf2151b267167e451544 100644 (file)
@@ -14,6 +14,7 @@
 #ifndef LZMA_RANGE_COMMON_H
 #define LZMA_RANGE_COMMON_H
 
+#include <stdint.h>
 #ifdef HAVE_CONFIG_H
 #      include "common.h"
 #endif
index 29e90c0411a60b11b685f0d0a288ea5aca0e7b4a..22be7aff8e55165f685b82ddf5ac59dab572215a 100644 (file)
@@ -16,6 +16,9 @@
 
 #include <stdlib.h>
 #include <stdbool.h>
+
+#include <assert.h>
+
 #include "range_common.h"
 #include "price.h"
 
index be22654240aa592728b17b7bc775eda912610cf7..735aa6a6f94617d3780aab5705757bc8f951539a 100644 (file)
@@ -14,6 +14,7 @@
 #define MYTHREAD_H
 
 #include "sysdefs.h"
+#define _POSIX_C_SOURCE 1
 
 // If any type of threading is enabled, #define MYTHREAD_ENABLED.
 #if defined(MYTHREAD_POSIX) || defined(MYTHREAD_WIN95) \