diff options
| author | Renato Botelho <garga@FreeBSD.org> | 2014-04-23 14:24:13 +0000 |
|---|---|---|
| committer | Renato Botelho <garga@FreeBSD.org> | 2014-04-23 14:24:13 +0000 |
| commit | e7fef78c99e87a86240917fc9427865a37ee128f (patch) | |
| tree | 993c6d336bb43a4c743b7a138f7dafc73f8c4220 /security/dsniff/files/patch-pcaputil.c | |
| parent | Update gstreamer 1.0 ports to version 1.2.4. (diff) | |
Fix build with clang:
. Add direct dependency to net/bpf.h
. Rename symbol csin to avoid conflict with complex.h
Approved by: portmgr (blanket)
Diffstat (limited to 'security/dsniff/files/patch-pcaputil.c')
| -rw-r--r-- | security/dsniff/files/patch-pcaputil.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/security/dsniff/files/patch-pcaputil.c b/security/dsniff/files/patch-pcaputil.c index c8cc52011716..654e90a77162 100644 --- a/security/dsniff/files/patch-pcaputil.c +++ b/security/dsniff/files/patch-pcaputil.c @@ -1,10 +1,11 @@ --- ./pcaputil.c.orig Tue Nov 14 12:51:08 2000 +++ ./pcaputil.c Mon Sep 25 16:26:13 2006 -@@ -13,9 +13,9 @@ +@@ -13,9 +13,10 @@ #include <stdlib.h> #include <string.h> #include <err.h> -#include <pcap.h> ++#include <net/bpf.h> +#include </usr/include/pcap.h> #ifdef BSD -#include <pcap-int.h> |
