opnsense-ports/net/poptop/files/patch-compat.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

18 lines
421 B
C

--- compat.c.orig Wed Jan 5 17:01:51 2005
+++ compat.c Mon Oct 31 09:55:12 2005
@@ -110,6 +110,7 @@
#define __USE_BSD 1
#include <stdarg.h>
#include <stdio.h>
+#include <unistd.h>
void my_setproctitle(int argc, char **argv, const char *format, ...) {
char proctitle[64];
@@ -126,7 +127,6 @@
}
/* signal to pipe delivery implementation */
-#include <unistd.h>
#include <fcntl.h>
#include <signal.h>