aboutsummaryrefslogtreecommitdiff
path: root/libiberty/setproctitle.c
diff options
context:
space:
mode:
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"