Commit 96a03bdd authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Fixed off_t bug on 32-bit systems.

parent 8e26c085
...@@ -16,12 +16,13 @@ ...@@ -16,12 +16,13 @@
*/ */
#include <thread> #ifdef HAVE_CONFIG_H
#if defined(HAVE_CONFIG_H)
#include "config.h" #include "config.h"
#endif #endif
#if defined(_OPENMP) #include <thread>
#ifdef _OPENMP
#include <omp.h> #include <omp.h>
#endif #endif
......
...@@ -18,6 +18,10 @@ ...@@ -18,6 +18,10 @@
#ifndef PSTREAM_H #ifndef PSTREAM_H
#define PSTREAM_H #define PSTREAM_H
#ifdef HAVE_CONFIG_H
#include "config.h" /* _FILE_OFFSET_BITS influence off_t */
#endif
#include "pstream_write.h" #include "pstream_write.h"
#include "varlist.h" #include "varlist.h"
#include "argument.h" #include "argument.h"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment