diff options
author | Thomas Jepp <tom@tomjepp.co.uk> | 2015-12-16 22:57:36 +0000 |
---|---|---|
committer | Thomas Jepp <tom@tomjepp.co.uk> | 2015-12-16 22:57:36 +0000 |
commit | 052cbb366e426213d49a86c6de4fd2d561d7c282 (patch) | |
tree | cfed4ffd101b6031c4f628c096f5b07bf8132e84 | |
parent | 037a3059935f7c0eecbe97823e7f6fe5783c7e93 (diff) | |
download | vyatta-wanloadbalance-052cbb366e426213d49a86c6de4fd2d561d7c282.tar.gz vyatta-wanloadbalance-052cbb366e426213d49a86c6de4fd2d561d7c282.zip |
Fix build failures when building for jessie.
-rw-r--r-- | src/lbdecision.cc | 1 | ||||
-rw-r--r-- | src/lboutput.cc | 1 | ||||
-rw-r--r-- | src/loadbalance.cc | 1 | ||||
-rw-r--r-- | src/main.cc | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/src/lbdecision.cc b/src/lbdecision.cc index d66849c..665b2a2 100644 --- a/src/lbdecision.cc +++ b/src/lbdecision.cc @@ -13,6 +13,7 @@ #include <net/if.h> #include <string.h> #include <stdlib.h> +#include <unistd.h> #include <sys/types.h> #include <sys/ioctl.h> diff --git a/src/lboutput.cc b/src/lboutput.cc index 28eb001..d146d8e 100644 --- a/src/lboutput.cc +++ b/src/lboutput.cc @@ -9,6 +9,7 @@ #include <sys/time.h> #include <time.h> #include <syslog.h> +#include <unistd.h> #include <iostream> diff --git a/src/loadbalance.cc b/src/loadbalance.cc index 4f42388..0c24585 100644 --- a/src/loadbalance.cc +++ b/src/loadbalance.cc @@ -6,6 +6,7 @@ * by the Free Software Foundation. */ #include <string> +#include <unistd.h> #include "lbpathtest.hh" #include "loadbalance.hh" diff --git a/src/main.cc b/src/main.cc index 05b1fa7..507e262 100644 --- a/src/main.cc +++ b/src/main.cc @@ -13,6 +13,7 @@ #include <stdio.h> #include "stdlib.h" #include <iostream> +#include <unistd.h> #include "loadbalance.hh" bool g_check_path = false; |