summaryrefslogtreecommitdiffstats
path: root/libopkg/str_list.h
diff options
context:
space:
mode:
Diffstat (limited to 'libopkg/str_list.h')
-rw-r--r--libopkg/str_list.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libopkg/str_list.h b/libopkg/str_list.h
index 3690820..f0a714d 100644
--- a/libopkg/str_list.h
+++ b/libopkg/str_list.h
@@ -18,6 +18,10 @@
#ifndef STR_LIST_H
#define STR_LIST_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include "void_list.h"
typedef struct void_list_elt str_list_elt_t;
@@ -44,4 +48,8 @@ str_list_elt_t *str_list_last(str_list_t *list);
void str_list_purge(str_list_t *list);
+#ifdef __cplusplus
+}
+#endif
+
#endif