Dag-Erling Smorgrav <[EMAIL PROTECTED]> writes:
> Here's a correct patch.

Murphy's Law of Attachments, etc.

DES
-- 
Dag-Erling Smorgrav - [EMAIL PROTECTED]

Index: Makefile
===================================================================
RCS file: /home/ncvs/src/sbin/rcorder/Makefile,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile
--- Makefile	16 Jun 2001 07:16:14 -0000	1.1.1.1
+++ Makefile	18 Oct 2001 19:44:57 -0000
@@ -3,11 +3,12 @@
 PROG=   rcorder
 SRCS=   ealloc.c hash.c rcorder.c
 MAN=	rcorder.8
+WARNS?=	2
 
 LDADD+=	-lutil
 DPADD+=	${LIBUTIL}
 
 # XXX hack for make's hash.[ch]
-CPPFLAGS+= -DORDER
+CFLAGS+= -DORDER
 
 .include <bsd.prog.mk>
Index: rcorder.c
===================================================================
RCS file: /home/ncvs/src/sbin/rcorder/rcorder.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 rcorder.c
--- rcorder.c	16 Jun 2001 07:16:14 -0000	1.1.1.1
+++ rcorder.c	18 Oct 2001 19:45:27 -0000
@@ -41,7 +41,11 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
+#if defined(__NetBSD__)
 #include <util.h>
+#else
+char *fparseln(FILE *, size_t *, size_t *, const char[3], int);
+#endif
 
 #include "ealloc.h"
 #include "sprite.h"

Reply via email to