summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/libs3.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/inc/libs3.h b/inc/libs3.h
index a58b718..0605e7b 100644
--- a/inc/libs3.h
+++ b/inc/libs3.h
@@ -31,6 +31,11 @@
#include <sys/time.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
/** **************************************************************************
* Overview
* --------
@@ -1711,4 +1716,8 @@ void S3_set_acl(const S3BucketContext *bucketContext, const char *key,
**/
+#ifdef __cplusplus
+}
+#endif
+
#endif /* LIBS3_H */