summaryrefslogtreecommitdiff
path: root/nitro/nitro.h
diff options
context:
space:
mode:
Diffstat (limited to 'nitro/nitro.h')
-rw-r--r--nitro/nitro.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/nitro/nitro.h b/nitro/nitro.h
index ea87f994..70ad9a18 100644
--- a/nitro/nitro.h
+++ b/nitro/nitro.h
@@ -1,7 +1,16 @@
#ifndef POKEDIAMOND_NITRO_H
#define POKEDIAMOND_NITRO_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
// Include all nitro files
#include "types.h"
+#include "os.h"
+
+#ifdef __cplusplus
+};
+#endif
#endif //POKEDIAMOND_NITRO_H