summaryrefslogtreecommitdiff
path: root/include/ouroboros/fcntl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ouroboros/fcntl.h')
-rw-r--r--include/ouroboros/fcntl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/ouroboros/fcntl.h b/include/ouroboros/fcntl.h
index 65e8c378..489fff15 100644
--- a/include/ouroboros/fcntl.h
+++ b/include/ouroboros/fcntl.h
@@ -24,6 +24,8 @@
#ifndef OUROBOROS_FCNTL_H
#define OUROBOROS_FCNTL_H
+#include <ouroboros/cdefs.h>
+
#include <sys/time.h>
/* same values as fcntl.h */
@@ -37,6 +39,8 @@
#define FLOW_O_INVALID (FLOW_O_WRONLY | FLOW_O_RDWR)
+__BEGIN_DECLS
+
int flow_set_flags(int fd,
int flags);
@@ -51,4 +55,6 @@ int flow_get_timeout(int fd,
int flow_get_qosspec(int fd,
qosspec_t * qs);
+__END_DECLS
+
#endif /* OUROBOROS_FCNTL_H */