diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-04-13 21:02:03 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-04-13 21:02:03 -0400 |
commit | abad76cc4c8586bc088fec65560cf4db2e0903c2 (patch) | |
tree | c08cb13197816338bbcd2fe0dffb18a80b96ca60 /src/journal | |
parent | d3b6d0c21ea5a0d15ec6dbd8b8d179138b7463bc (diff) |
Include <fcntl.h> instead of <sys/fcntl.h>
<fcntl.h> is POSIX. On Linux, <sys/fcntl.h> simply includes
<fcntl.h>, so there should be on difference. On Android
likewise, except that there is some more stuff. QNX has
only <fcntl.h>.
https://bugs.freedesktop.org/show_bug.cgi?id=63423
Diffstat (limited to 'src/journal')
-rw-r--r-- | src/journal/cat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/cat.c b/src/journal/cat.c index a95392ccb0..ea61578353 100644 --- a/src/journal/cat.c +++ b/src/journal/cat.c @@ -25,7 +25,7 @@ #include <unistd.h> #include <stdlib.h> #include <errno.h> -#include <sys/fcntl.h> +#include <fcntl.h> #include <systemd/sd-journal.h> |