pkgsrc/net/nocol/patches/patch-lib_misc_c
dholland 680768a793 Fix 64-bit problems as detected by gcc. One must declare functions
returning pointers before calling them.
2012-09-09 19:35:20 +00:00

15 lines
348 B
Text

$NetBSD: patch-lib_misc_c,v 1.1 2012/09/09 19:35:21 dholland Exp $
Use standard headers.
--- lib/misc.c~ 1999-11-05 22:34:12.000000000 +0000
+++ lib/misc.c
@@ -49,6 +49,8 @@
#include "nocol.h"
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include <signal.h> /* signal numbers */
#include <sys/file.h>
#include <errno.h>