OSDN Git Service

* setproctitle.c [HAVE_SYS_PRCTL_H]: Include <sys/types.h>.
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Nov 2010 10:18:05 +0000 (10:18 +0000)
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Nov 2010 10:18:05 +0000 (10:18 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167236 138bc75d-0d04-0410-961f-82ee72b054a4

libiberty/ChangeLog
libiberty/setproctitle.c

index 37d9786..bbd5aaf 100644 (file)
@@ -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
index ceb0a38..a22fb1f 100644 (file)
@@ -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"