diff options
| author | Roy Marples <roy@marples.name> | 2020-06-10 07:13:21 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2020-06-10 07:18:29 +0100 |
| commit | 6fdd1b8b589f8cec8b017e4b4dfff162730748f0 (patch) | |
| tree | ad13dd55bd047e9f519582616f8393559d61c4d8 | |
| parent | 895d69067f076ffe9a8cddc37bb5adc32bfe035e (diff) | |
| download | dhcpcd-6fdd1b8b589f8cec8b017e4b4dfff162730748f0.tar.xz | |
Linux: fix compile on old ones
| -rw-r--r-- | src/if.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -32,6 +32,8 @@ #include <sys/socket.h> #include <syslog.h> +#include <fcntl.h> /* Needs to be here for old Linux */ + #include "config.h" #include <net/if.h> @@ -55,7 +57,6 @@ #include <errno.h> #include <ifaddrs.h> #include <inttypes.h> -#include <fcntl.h> #include <fnmatch.h> #include <stddef.h> #include <stdio.h> |
