diff options
author | DJ Delorie <dj@delorie.com> | 2010-11-29 16:34:15 +0000 |
---|---|---|
committer | DJ Delorie <dj@delorie.com> | 2010-11-29 16:34:15 +0000 |
commit | 3821bd50f386f3e5c3af85d4bb66b213e9f3e568 (patch) | |
tree | f16bcfcb7d3f4ff87ef83b026e72278c1b54d739 /libiberty | |
parent | dd76ee93c9f3735ec11154c15f807a7abae41cec (diff) | |
download | binutils-redhat-3821bd50f386f3e5c3af85d4bb66b213e9f3e568.tar.gz |
merge from gcc
Diffstat (limited to 'libiberty')
-rw-r--r-- | libiberty/ChangeLog | 4 | ||||
-rw-r--r-- | libiberty/setproctitle.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 37d97868c6..bbd5aafb8c 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 ceb0a3894c..a22fb1f1b5 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" |