summaryrefslogtreecommitdiff
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 e2d3813af9a..db775dfd359 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 de70b8963bd..1eb24027e51 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 6ef526ece3d..4b89162751d 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