aboutsummaryrefslogtreecommitdiff
path: root/libiberty/setproctitle.c
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/setproctitle.c
parent94b6973efeb6d14a07e90ef5013c506efec59320 (diff)
downloadgdb-531ff9fd96ea76a508d7351f5bd9130cdb7a4f13.zip
gdb-531ff9fd96ea76a508d7351f5bd9130cdb7a4f13.tar.gz
gdb-531ff9fd96ea76a508d7351f5bd9130cdb7a4f13.tar.bz2
merge from gcc
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 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"