freebsd-ports/net/poptop/files/patch-compat.c
Sam Lawrance 9969531d09 Update to 1.2.3
PR:		ports/88260
Submitted by:	Serge Maslov <serge@maslov.biz>
Approved by:	Oleg M. Golovanov <olmi@rentech.ru> (maintainer, timeout 26 days)
2005-11-28 12:44:11 +00: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>