aboutsummaryrefslogtreecommitdiff
path: root/have
diff options
context:
space:
mode:
Diffstat (limited to 'have')
-rw-r--r--have/setproctitle.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/have/setproctitle.c b/have/setproctitle.c
index 69a5f8c..dd3119c 100644
--- a/have/setproctitle.c
+++ b/have/setproctitle.c
@@ -14,7 +14,14 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+/*
+ * FreeBSD has setproctitle in a different header than OpenBSD.
+ */
+
+#include <sys/types.h>
+
#include <stdlib.h>
+#include <unistd.h>
int
main(void)