2011-05-27 Pedro Alves <pedro@codesourcery.com>
[deliverable/binutils-gdb.git] / libiberty / setproctitle.c
index ceb0a3894cce33ddfd033ba83d823794e2c2d083..3b3f377b67b7e3d3a14bb371b8b96fbbae9030a8 100644 (file)
@@ -1,5 +1,5 @@
 /* Set the title of a process.
-   Copyright (C) 2010 Free Software Foundation, Inc.
+   Copyright (C) 2010, 2011 Free Software Foundation, Inc.
 
 This file is part of the libiberty library.
 Libiberty is free software; you can redistribute it and/or
@@ -21,13 +21,14 @@ 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"
 
 /*
 
-@deftypefn Supplemental void setproctitle (const char *@var{fmt} ...)
+@deftypefn Supplemental void setproctitle (const char *@var{fmt}, ...)
 
 Set the title of a process to @var{fmt}. va args not supported for now,
 but defined for compatibility with BSD. 
This page took 0.027811 seconds and 4 git commands to generate.