diff options
author | Patrick Steinhardt <ps@pks.im> | 2019-09-05 07:48:14 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2019-09-05 08:05:26 -0400 |
commit | af4d3dd78a4d3393cfec88ac91851af4a9a350b2 (patch) | |
tree | ab1c21a4274891afa90777f85a2e04e33315e514 /support/export | |
parent | d0cd0c468146c0b5284bc895a8a9ef4096e5dfee (diff) | |
download | nfs-utils-af4d3dd78a4d3393cfec88ac91851af4a9a350b2.tar.gz |
Use <fcntl.h> header instead of <sys/fcntl.h>
While most source files already use the standard header <fcntl.h>
instead of <sys/fcntl.h>, some do not, causing warnings on musl libc
systems.
Fix the remaining ones to use <fcntl.h>. As we already use the header
unconditionally in a lot of places, this change should not cause any
problems for other platforms.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/export')
-rw-r--r-- | support/export/xtab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/export/xtab.c b/support/export/xtab.c index 1e1d679..00b25ea 100644 --- a/support/export/xtab.c +++ b/support/export/xtab.c @@ -10,7 +10,7 @@ #include <config.h> #endif -#include <sys/fcntl.h> +#include <fcntl.h> #include <unistd.h> #include <stdlib.h> #include <string.h> |