diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2003-11-18 19:20:15 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2003-11-18 19:20:15 +0000 |
commit | a89e8b6c5aa66e5b9819d0aa4454f069b92da027 (patch) | |
tree | eba51c5c523d488d67dbe59be37c3fc77ec6b2fa /packet-sdp.c | |
parent | 584550018eda11c6615d4416bfc178fc41c2da11 (diff) | |
download | wireshark-a89e8b6c5aa66e5b9819d0aa4454f069b92da027.tar.gz wireshark-a89e8b6c5aa66e5b9819d0aa4454f069b92da027.tar.bz2 wireshark-a89e8b6c5aa66e5b9819d0aa4454f069b92da027.zip |
includes changed, to be working with MSVC also
svn path=/trunk/; revision=9005
Diffstat (limited to 'packet-sdp.c')
-rw-r--r-- | packet-sdp.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/packet-sdp.c b/packet-sdp.c index df32b9231e..f1c116af03 100644 --- a/packet-sdp.c +++ b/packet-sdp.c @@ -4,7 +4,7 @@ * Jason Lango <jal@netapp.com> * Liberally copied from packet-http.c, by Guy Harris <guy@alum.mit.edu> * - * $Id: packet-sdp.c,v 1.36 2003/11/17 21:52:35 guy Exp $ + * $Id: packet-sdp.c,v 1.37 2003/11/18 19:20:15 ulfl Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -31,9 +31,18 @@ #include <ctype.h> #include <sys/types.h> +#ifdef HAVE_SYS_SOCKET_H #include <sys/socket.h> -#include <netinet/in.h> +#endif +#ifdef HAVE_NETINET_IN_H +# include <netinet/in.h> +#endif +#ifdef HAVE_ARPA_INET_H #include <arpa/inet.h> +#endif +#ifdef NEED_INET_ATON_H +# include <epan/inet_aton.h> +#endif #include <glib.h> #include <epan/packet.h> |