On 18 Oct 2001, Dag-Erling Smorgrav wrote:

> Dag-Erling Smorgrav <[EMAIL PROTECTED]> writes:
> > Your rcorder patch is incorrect.
>
> Here's a correct patch.  Does anybody mind if I commit this and
> connect rcorder(8) to the build?

Actually, fparseln() is defined in libutil.h (per the man page). I don't
have my current box available (power outage at home), but if you could
look over it, it should work.

-gordon

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
+#include <libutil.h>
+#endif

 #include "ealloc.h"
 #include "sprite.h"


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to