diff options
author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-29 10:18:05 +0000 |
---|---|---|
committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-29 10:18:05 +0000 |
commit | ad25c2a0569503497b54a0b09b692bc364386362 (patch) | |
tree | 80af2f845e61139e2fa9e44c74223de49d27209b /libiberty | |
parent | 7a45b3f9d774b362afe2d9e6719dd1bf21e6b621 (diff) | |
download | gcc-ad25c2a0569503497b54a0b09b692bc364386362.tar.gz |
* setproctitle.c [HAVE_SYS_PRCTL_H]: Include <sys/types.h>.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167236 138bc75d-0d04-0410-961f-82ee72b054a4
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 37d97868c6c..bbd5aafb8c3 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 ceb0a3894cc..a22fb1f1b56 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" |