summaryrefslogtreecommitdiff
path: root/tools/rrdbot-get.c
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2009-10-29 01:50:51 +0000
committerStef Walter <stef@memberwebs.com>2009-10-29 01:51:24 +0000
commitf78fa42944de072c8e12ba9b6fe57b7ebe354868 (patch)
tree04d883fa5f8da94593437598eedd1b020c2fe20d /tools/rrdbot-get.c
parenta8af539306d4c9a41c41c34c40f70895086d0de1 (diff)
Fix build problems on FreeBSD
* Add <sys/socket.h> header * Remove unused variable
Diffstat (limited to 'tools/rrdbot-get.c')
-rw-r--r--tools/rrdbot-get.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/rrdbot-get.c b/tools/rrdbot-get.c
index 27c8b75..2e904bf 100644
--- a/tools/rrdbot-get.c
+++ b/tools/rrdbot-get.c
@@ -37,6 +37,7 @@
*/
#include "usuals.h"
+#include <sys/socket.h>
#include <errno.h>
#include <unistd.h>
#include <syslog.h>
@@ -425,7 +426,6 @@ version()
int
main (int argc, char* argv[])
{
- char *bind_address = NULL;
const char **local = NULL;
int n_local = 0;
char ch;