* setproctitle.c [HAVE_SYS_PRCTL_H]: Include <sys/types.h>.

From-SVN: r167236
This commit is contained in:
Rainer Orth 2010-11-29 10:18:05 +00:00 committed by Rainer Orth
parent f87c158e93
commit 4c7d97e641
2 changed files with 5 additions and 0 deletions

View 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

View 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"