diff options
| author | Petr Gotthard <petr.gotthard@advantech-bb.cz> | 2020-02-05 15:35:44 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2020-02-05 15:37:27 +0000 |
| commit | 2bf668dceed3fbea9f596afc4f90d829497401b3 (patch) | |
| tree | 0e87b20aab3ca207fe5ee148c2f8a7516ee056aa /src/if.c | |
| parent | b6b8910d23cd15bb0d7bf3b3b31ada3899db2f6f (diff) | |
| download | dhcpcd-2bf668dceed3fbea9f596afc4f90d829497401b3.tar.xz | |
compat: Fix a typo in pidfile when O_CLOEXEC is not defined
While here, include fcntl.h in if.c for older environments.
Diffstat (limited to 'src/if.c')
| -rw-r--r-- | src/if.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -54,6 +54,7 @@ #include <errno.h> #include <ifaddrs.h> #include <inttypes.h> +#include <fcntl.h> #include <fnmatch.h> #include <stddef.h> #include <stdio.h> |
