diff --git a/oshmem/include/shmem.h.in b/oshmem/include/shmem.h.in index 950b59fa8a..06b8882c5e 100644 --- a/oshmem/include/shmem.h.in +++ b/oshmem/include/shmem.h.in @@ -48,7 +48,6 @@ #endif #include -#include #if defined(c_plusplus) || defined(__cplusplus) extern "C" { diff --git a/oshmem/include/shmemx.h b/oshmem/include/shmemx.h index da1fb7f1d5..4186cc04c6 100644 --- a/oshmem/include/shmemx.h +++ b/oshmem/include/shmemx.h @@ -12,6 +12,8 @@ #ifndef OSHMEM_SHMEMX_H #define OSHMEM_SHMEMX_H +#include + #if defined(c_plusplus) || defined(__cplusplus) extern "C" { #endif