diff options
| author | Roy Marples <roy@marples.name> | 2007-04-26 16:16:56 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2007-04-26 16:16:56 +0000 |
| commit | 0731074b52e211799a419ce90462562643b4f658 (patch) | |
| tree | e5f6e97264bf4a43222ffc20996b89586faba300 /socket.c | |
| parent | 6e9e8a1d4b24a11ef393a5e51cdb3542b2bece4d (diff) | |
| download | dhcpcd-0731074b52e211799a419ce90462562643b4f658.tar.xz | |
Send a FQDN hostname if it contains dots, strip the domain from a looked up hostname if it matches our domain or search and sanitize our fd's a little better.
Diffstat (limited to 'socket.c')
| -rw-r--r-- | socket.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -24,6 +24,7 @@ #include <sys/select.h> #include <sys/socket.h> #include <sys/uio.h> +#include <net/if.h> #include <netinet/in_systm.h> #include <netinet/in.h> #ifndef __OpenBSD__ @@ -32,10 +33,6 @@ #include <net/ethernet.h> #endif #include <netinet/udp.h> -#ifndef __linux__ -#include <net/if_types.h> -#endif -#include <net/if.h> #include <arpa/inet.h> #include <errno.h> #include <fcntl.h> |
