pkgsrc/net/sniffit/patches/patch-sn__cfgfile_c
dholland 3fade87443 Patch up various lethal compiler warnings. This still doesn't build
on NetBSD current or probably -6 because of bpf issues, but now stands
a chance of being able to run on LP64 platforms and/or at all when that's
fixed.
2012-03-31 08:31:06 +00:00

15 lines
357 B
Text

$NetBSD: patch-sn__cfgfile_c,v 1.1 2012/03/31 08:31:06 dholland Exp $
- Use standard headers.
--- sn_cfgfile.c~ 1997-04-18 09:33:58.000000000 +0000
+++ sn_cfgfile.c
@@ -3,6 +3,8 @@
#include "sn_config.h"
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include "sn_defines.h"
#include "sn_structs.h"
#include "sn_cfgfile.h"