summaryrefslogtreecommitdiff
path: root/LibC/fcntl.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-11-05 16:40:48 +0100
committerAndreas Kling <awesomekling@gmail.com>2018-11-05 16:40:48 +0100
commite76312ab63e5a0e180a372ca36fd6590fad6f8fd (patch)
treec6d3b80c147f70d9415785071f4f0e09410afd82 /LibC/fcntl.h
parente4611248c431d11d4eda43a366092f576bdb1f83 (diff)
downloadserenity-e76312ab63e5a0e180a372ca36fd6590fad6f8fd.zip
Lots of minor compat stuff while seeing if bash would build.
We're quite far from bash building, but we'll get there eventually!
Diffstat (limited to 'LibC/fcntl.h')
-rw-r--r--LibC/fcntl.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/LibC/fcntl.h b/LibC/fcntl.h
index e69de29bb2..cf679753cb 100644
--- a/LibC/fcntl.h
+++ b/LibC/fcntl.h
@@ -0,0 +1,13 @@
+#pragma once
+
+#include <sys/cdefs.h>
+
+__BEGIN_DECLS
+
+#define F_DUPFD 0
+#define F_GETFD 1
+#define F_SETFD 2
+#define F_GETFL 3
+#define F_SETFL 4
+
+__END_DECLS