aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2010-11-29 16:34:15 +0000
committerDJ Delorie <dj@redhat.com>2010-11-29 16:34:15 +0000
commit531ff9fd96ea76a508d7351f5bd9130cdb7a4f13 (patch)
tree9a2c265473ea9fbd3cc130763dda7f19f01614e3 /libiberty
parent94b6973efeb6d14a07e90ef5013c506efec59320 (diff)
downloadgdb-531ff9fd96ea76a508d7351f5bd9130cdb7a4f13.zip
gdb-531ff9fd96ea76a508d7351f5bd9130cdb7a4f13.tar.gz
gdb-531ff9fd96ea76a508d7351f5bd9130cdb7a4f13.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog4
-rw-r--r--libiberty/setproctitle.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 37d9786..bbd5aaf 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,7 @@
+2010-11-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * setproctitle.c [HAVE_SYS_PRCTL_H]: Include <sys/types.h>.
+
2010-11-20 Anthony Green <green@moxielogic.com>
* configure.ac: Turn PR_SET_NAME link test into a test for
diff --git a/libiberty/setproctitle.c b/libiberty/setproctitle.c
index ceb0a38..a22fb1f 100644
--- a/libiberty/setproctitle.c
+++ b/libiberty/setproctitle.c
@@ -21,6 +21,7 @@ Boston, MA 02110-1301, USA. */
#include "config.h"
#endif
#ifdef HAVE_SYS_PRCTL_H
+#include <sys/types.h>
#include <sys/prctl.h>
#endif
#include "ansidecl.h"