projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc94387
)
Use correct `<fcntl.h>` include
author
David Seifert
<soap@gentoo.org>
Mon, 2 Aug 2021 10:41:38 +0000
(12:41 +0200)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Fri, 6 Aug 2021 14:40:58 +0000
(16:40 +0200)
* `<sys/fcntl.h>` is not specified in POSIX
(cherry picked from commit
f8d54f7810aeea5ff27a5db03e1aab7ea54c8268
)
src/basic/fileio.h
patch
|
blob
|
history
diff --git
a/src/basic/fileio.h
b/src/basic/fileio.h
index c28b17fef52691c79fe54f10f545ee3225882694..9bd2037f5bc715dd519e3d8321485e9670e66f4f 100644
(file)
--- 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"