Skip to content

Commit

Permalink
Adding uintstd.h header
Browse files Browse the repository at this point in the history
Adding uintstd.h header so compiling with Clang 5.0 on ppc64le works.
  • Loading branch information
khuck committed Oct 25, 2017
1 parent e847103 commit a1d7f53
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions hpx/runtime/threads/coroutines/detail/context_posix.hpp
Expand Up @@ -47,6 +47,12 @@
#include <hpx/util/get_and_reset_value.hpp>
#include <hpx/util/unused.hpp>

// include unist.d conditionally to check for POSIX version. Not all OSs have the
// unistd header...
#if defined(HPX_HAVE_UNISTD_H)
#include <unistd.h>
#endif

#if defined(__FreeBSD__) || (defined(_XOPEN_UNIX) && defined(_XOPEN_VERSION) \
&& _XOPEN_VERSION >= 500)

Expand Down

0 comments on commit a1d7f53

Please sign in to comment.