summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libgomp/ChangeLog2
-rw-r--r--libgomp/libgomp_g.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index 507a589200e..081850c87b8 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,5 +1,7 @@
2013-11-07 Thomas Schwinge <thomas@codesourcery.com>
+ * libgomp_g.h: Include <stddef.h> for size_t.
+
* libgomp.spec.in: Update comment about libgomp's dependencies.
* configure.ac: Likewise.
* configure: Regenerate.
diff --git a/libgomp/libgomp_g.h b/libgomp/libgomp_g.h
index 32c4cf61421..577956a50dc 100644
--- a/libgomp/libgomp_g.h
+++ b/libgomp/libgomp_g.h
@@ -29,6 +29,7 @@
#define LIBGOMP_G_H 1
#include <stdbool.h>
+#include <stddef.h>
/* barrier.c */