aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2005-09-17 13:30:13 +0000
committerMatthias Andree <matthias.andree@gmx.de>2005-09-17 13:30:13 +0000
commitae4dda9f0c40945e4ccdf925d1897c4b739ff932 (patch)
tree5cc6349f837b07e87a20a823c06fcbc3254d9cea
parent209f731088f5332b1f8fe1c0223abfdd1968a45d (diff)
downloadfetchmail-ae4dda9f0c40945e4ccdf925d1897c4b739ff932.tar.gz
fetchmail-ae4dda9f0c40945e4ccdf925d1897c4b739ff932.tar.bz2
fetchmail-ae4dda9f0c40945e4ccdf925d1897c4b739ff932.zip
Fix build problem (missing interface_init()) on FreeBSD.
svn path=/trunk/; revision=4291
-rw-r--r--interface.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/interface.c b/interface.c
index d4688094..f01fb1ba 100644
--- a/interface.c
+++ b/interface.c
@@ -74,6 +74,7 @@ static char *netdevfmt;
#define MONITOR_SLOP 5
#ifdef linux
+#define have_interface_init
void interface_init(void)
/* figure out which /proc/net/dev format to use */
@@ -544,10 +545,10 @@ get_ifinfo_end:
#endif /* __FREEBSD_USE_SYSCTL_GET_IFFINFO */
-#else
+#endif
+#ifndef have_interface_init
void interface_init(void) {};
-
#endif