summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/test/ompt/callback.h
diff options
context:
space:
mode:
Diffstat (limited to 'openmp/runtime/test/ompt/callback.h')
-rwxr-xr-xopenmp/runtime/test/ompt/callback.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/openmp/runtime/test/ompt/callback.h b/openmp/runtime/test/ompt/callback.h
index af871b37fc6..d62f964a1de 100755
--- a/openmp/runtime/test/ompt/callback.h
+++ b/openmp/runtime/test/ompt/callback.h
@@ -1,6 +1,11 @@
+#ifndef _BSD_SOURCE
#define _BSD_SOURCE
+#endif
#define _DEFAULT_SOURCE
#include <stdio.h>
+#ifndef __STDC_FORMAT_MACROS
+#define __STDC_FORMAT_MACROS
+#endif
#include <inttypes.h>
#include <omp.h>
#include <ompt.h>
OpenPOWER on IntegriCloud