summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--atasmart.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/atasmart.h b/atasmart.h
index 2c68cd4..91850e3 100644
--- a/atasmart.h
+++ b/atasmart.h
@@ -25,6 +25,10 @@
#include <inttypes.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef int SkBool;
#ifndef FALSE
@@ -170,4 +174,8 @@ int sk_disk_dump(SkDisk *d);
void sk_disk_free(SkDisk *d);
+#ifdef __cplusplus
+}
+#endif
+
#endif