summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2021-08-02 12:41:38 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-08-02 14:51:50 +0200
commitf8d54f7810aeea5ff27a5db03e1aab7ea54c8268 (patch)
treea654664bd1567e728bee2f609a8a6dbb2994e8dd
parentb98855d90be454cfe66e43fa611e8433b21d124d (diff)
downloadsystemd-f8d54f7810aeea5ff27a5db03e1aab7ea54c8268.tar.gz
Use correct `<fcntl.h>` include
* `<sys/fcntl.h>` is not specified in POSIX
-rw-r--r--src/basic/fileio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/fileio.h b/src/basic/fileio.h
index af797cfafd..4295b84a85 100644
--- a/src/basic/fileio.h
+++ b/src/basic/fileio.h
@@ -2,11 +2,11 @@
#pragma once
#include <dirent.h>
+#include <fcntl.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdio.h>
#include <sys/stat.h>
-#include <sys/fcntl.h>
#include <sys/types.h>
#include "macro.h"