aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog4
-rw-r--r--libiberty/cp-demangle.c2
-rw-r--r--libiberty/mkstemps.c1
3 files changed, 7 insertions, 0 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index e2d3813..db775df 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,7 @@
+2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
+
+ * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
+
2000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
* cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
diff --git a/libiberty/cp-demangle.c b/libiberty/cp-demangle.c
index de70b89..1eb2402 100644
--- a/libiberty/cp-demangle.c
+++ b/libiberty/cp-demangle.c
@@ -27,6 +27,8 @@
#include "config.h"
#endif
+#include <sys/types.h>
+
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
diff --git a/libiberty/mkstemps.c b/libiberty/mkstemps.c
index 6ef526e..4b89162 100644
--- a/libiberty/mkstemps.c
+++ b/libiberty/mkstemps.c
@@ -20,6 +20,7 @@
#include "config.h"
#endif
+#include <sys/types.h>
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif