pkgsrc/net/nocol/patches/patch-etherload_get__devlist_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
396 B
Text

$NetBSD: patch-etherload_get__devlist_c,v 1.1 2012/09/09 19:35:20 dholland Exp $
Use own headers.
--- etherload/get_devlist.c~ 1997-03-12 08:43:08.000000000 +0000
+++ etherload/get_devlist.c
@@ -22,6 +22,8 @@
#include <string.h>
#include <unistd.h>
+#include "externs.h"
+
/* Not all systems have IFF_LOOPBACK */
#ifdef IFF_LOOPBACK
#define ISLOOPBACK(p) ((p)->ifr_flags & IFF_LOOPBACK)