summaryrefslogtreecommitdiffstats
path: root/libiberty/setproctitle.c
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-29 10:18:05 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-29 10:18:05 +0000
commitad25c2a0569503497b54a0b09b692bc364386362 (patch)
tree80af2f845e61139e2fa9e44c74223de49d27209b /libiberty/setproctitle.c
parent7a45b3f9d774b362afe2d9e6719dd1bf21e6b621 (diff)
downloadppe42-gcc-ad25c2a0569503497b54a0b09b692bc364386362.tar.gz
ppe42-gcc-ad25c2a0569503497b54a0b09b692bc364386362.zip
* 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/setproctitle.c')
-rw-r--r--libiberty/setproctitle.c1
1 files changed, 1 insertions, 0 deletions
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"
OpenPOWER on IntegriCloud