diff options
author | Michael Stapelberg <michael@stapelberg.de> | 2009-07-22 18:51:55 +0200 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2009-07-22 18:51:55 +0200 |
commit | 072cee2808b4615250dbc064f9fc0604f83f1b19 (patch) | |
tree | 652adedabdf1f38f03c46f2a72ab4d2c2551cfb2 /src/get_ip_addr.c | |
parent | 329a8994f7ad5454f83d576ad2b826585560424b (diff) |
little fixes for FreeBSD
Diffstat (limited to 'src/get_ip_addr.c')
-rw-r--r-- | src/get_ip_addr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/get_ip_addr.c b/src/get_ip_addr.c index cc812f2..c394227 100644 --- a/src/get_ip_addr.c +++ b/src/get_ip_addr.c @@ -1,5 +1,5 @@ // vim:ts=8:expandtab -#include <net/if.h> +#include <netinet/in.h> #include <sys/socket.h> #include <sys/types.h> #include <stdlib.h> @@ -7,6 +7,7 @@ #include <string.h> #include <netdb.h> #include <ifaddrs.h> +#include <net/if.h> #include "i3status.h" |