diff --git a/src/chm_http.c b/src/chm_http.c index 237e85a..1df2adb 100644 --- a/src/chm_http.c +++ b/src/chm_http.c @@ -43,6 +43,8 @@ #include #include #include +#include +#include /* threading includes */ #include diff --git a/src/chm_lib.c b/src/chm_lib.c index ffd213c..9eb9d1b 100644 --- a/src/chm_lib.c +++ b/src/chm_lib.c @@ -48,6 +48,8 @@ * * ***************************************************************************/ +#define _LARGEFILE64_SOURCE /* for pread64 */ + #include "chm_lib.h" #ifdef CHM_MT