projects
/
srvx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix sar.c build on FreeBSD 5.5.
[srvx.git]
/
src
/
sar.c
diff --git
a/src/sar.c
b/src/sar.c
index 545c89005b7170996bc7d94c91129c0c124133ea..4a50677dae49eb9e3092d90ff9fe67c9b7a7dd7c 100644
(file)
--- a/
src/sar.c
+++ b/
src/sar.c
@@
-24,6
+24,10
@@
#include "log.h"
#include "timeq.h"
+#if defined(HAVE_NETINET_IN_H)
+# include <netinet/in.h> /* sockaddr_in6 on some BSDs */
+#endif
+
static const char hexdigits[] = "0123456789abcdef";
struct dns_rr;