diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2009-11-23 08:47:25 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2009-11-23 08:47:25 +0000 |
commit | 2a6f8f21fc66985b89d58eefecc73f29d560bd94 (patch) | |
tree | 486b3ccbad3d79365eb1a330c8bd8b90f048a74b /epan/dissectors/packet-rpcap.c | |
parent | 4ec2ef9bf33f9b0d42fe31634b76e9102b84601d (diff) |
From Barry Miller via bug 4258:
Include sys/types.h to make it compile on OpenBSD 4.5.
svn path=/trunk/; revision=31051
Diffstat (limited to 'epan/dissectors/packet-rpcap.c')
-rw-r--r-- | epan/dissectors/packet-rpcap.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/epan/dissectors/packet-rpcap.c b/epan/dissectors/packet-rpcap.c index 0150ad0136..7321eb001e 100644 --- a/epan/dissectors/packet-rpcap.c +++ b/epan/dissectors/packet-rpcap.c @@ -29,6 +29,10 @@ #include "config.h" #endif +#ifdef HAVE_SYS_TYPES_H +#include <sys/types.h> +#endif + #ifdef HAVE_SYS_SOCKET_H #include <sys/socket.h> #endif |