freebsd-ports/net/bld/files/patch-ac
Jean Milanez Melo f62ba38aa4 - Update to 0.3.4.
- Unbreak on 4.X.
- Update to use new USE_RC_SUBR style.

PR:		ports/96266
Submitted by:	Olivier Beyssac <obld@r14.freenix.org> (maintainer)
Reworked by:	mnag, jmelo
Approved by:	mnag (mentor)
2006-05-31 17:50:06 +00:00

20 lines
398 B
Text

#
# Fix build on 4.x reorganizing #include headers
#
--- client.c.orig Wed May 31 14:23:30 2006
+++ client.c Wed May 31 14:23:45 2006
@@ -24,11 +24,12 @@
* SUCH DAMAGE.
*
*/
+#include <stdio.h>
+#include <unistd.h>
#include <ctype.h>
#include <sys/select.h>
#include <sys/time.h>
#include <sys/types.h>
-#include <unistd.h>
#include <string.h>
#include <errno.h>
#include "options.h"