projects
/
platform
/
upstream
/
avahi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bf2645
)
fix build on old freebsd, patch from zmi (Closes #158)
author
Lennart Poettering
<lennart@poettering.net>
Sun, 19 Aug 2007 23:45:30 +0000
(23:45 +0000)
committer
Lennart Poettering
<lennart@poettering.net>
Sun, 19 Aug 2007 23:45:30 +0000
(23:45 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1523
941a03a8
-eaeb-0310-b9a0-
b1bbd8fe43fe
avahi-autoipd/main.c
patch
|
blob
|
history
diff --git
a/avahi-autoipd/main.c
b/avahi-autoipd/main.c
index
27c5a29
..
4a51dc3
100644
(file)
--- a/
avahi-autoipd/main.c
+++ b/
avahi-autoipd/main.c
@@
-62,6
+62,12
@@
#ifndef __linux__
#include <pcap.h>
+
+/* Old versions of PCAP defined it as D_IN */
+#ifndef PCAP_D_IN
+#define PCAP_D_IN D_IN
+#endif
+
#endif
#include <avahi-common/malloc.h>
@@
-77,6
+83,8
@@
#include "main.h"
#include "iface.h"
+
+
/* An implementation of RFC 3927 */
/* Constants from the RFC */