summaryrefslogtreecommitdiff
path: root/src/fcntl
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-08-13 13:48:50 -0400
committerJakob Kaivo <jkk@ung.org>2020-08-13 13:48:50 -0400
commit489bef2ace3c3c617f5bf78ded45a5b81fe2fd46 (patch)
treef7df0cd2678ebe868356e9a00952555a28a75214 /src/fcntl
parent3e282018ffb5806cafafeb5d0d6f8d67c9bb86e8 (diff)
add src/ to -I and exorcise ../ from #include
Diffstat (limited to 'src/fcntl')
-rw-r--r--src/fcntl/fcntl.c2
-rw-r--r--src/fcntl/open.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/fcntl/fcntl.c b/src/fcntl/fcntl.c
index a588ef54..6f888bf1 100644
--- a/src/fcntl/fcntl.c
+++ b/src/fcntl/fcntl.c
@@ -2,7 +2,7 @@
#include <fcntl.h>
#include "errno.h"
#include "stdarg.h"
-#include "../_syscall.h"
+#include "_syscall.h"
int fcntl(int fildes, int cmd, ...)
{
diff --git a/src/fcntl/open.c b/src/fcntl/open.c
index 15cee2e4..14c12e1b 100644
--- a/src/fcntl/open.c
+++ b/src/fcntl/open.c
@@ -3,7 +3,7 @@
#include "sys/stat.h" /* OH */
#include "errno.h"
#include "stdarg.h"
-#include "../_syscall.h"
+#include "_syscall.h"
int open(const char *path, int oflag, ...)
{