diff options
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" |