summaryrefslogtreecommitdiff
path: root/eio.h
diff options
context:
space:
mode:
Diffstat (limited to 'eio.h')
-rw-r--r--eio.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/eio.h b/eio.h
index 687fcad..fe4a1b9 100644
--- a/eio.h
+++ b/eio.h
@@ -40,6 +40,10 @@
#ifndef EIO_H_
#define EIO_H_
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include <stddef.h>
#include <sys/types.h>
@@ -219,5 +223,9 @@ void eio_destroy (eio_req *req);
ssize_t eio_sendfile_sync (int ofd, int ifd, off_t offset, size_t count);
+#ifdef __cplusplus
+}
+#endif
+
#endif