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:13:21 +0100 |
| commit | cb2d1a315c345425ff3858ae087add75db863467 (patch) | |
| tree | da5ebc0addcbc0e95d53391e1b7d3e3f8d724b44 /src/if.c | |
| parent | 465558f429c881d4fe5f818d09c00847e8399c94 (diff) | |
| download | dhcpcd-cb2d1a315c345425ff3858ae087add75db863467.tar.xz | |
Linux: fix compile on old ones
Diffstat (limited to 'src/if.c')
| -rw-r--r-- | src/if.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -31,6 +31,8 @@ #include <sys/ioctl.h> #include <sys/socket.h> +#include <fcntl.h> /* Needs to be here for old Linux */ + #include "config.h" #include <net/if.h> @@ -54,7 +56,6 @@ #include <errno.h> #include <ifaddrs.h> #include <inttypes.h> -#include <fcntl.h> #include <fnmatch.h> #include <stddef.h> #include <stdio.h> |
