680768a793
returning pointers before calling them.
15 lines
396 B
Text
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)
|