aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 0ebdd88..7cb03d7 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-21 Mike Stump <mrs@wrs.com>
* Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
diff --git a/libiberty/cp-demangle.c b/libiberty/cp-demangle.c
index 13a746c..f95dc71 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