aboutsummaryrefslogtreecommitdiffstats
path: root/ext/syck/syck.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/syck/syck.h')
-rw-r--r--ext/syck/syck.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/syck/syck.h b/ext/syck/syck.h
index 6bba91bb54..6d10cab714 100644
--- a/ext/syck/syck.h
+++ b/ext/syck/syck.h
@@ -14,7 +14,7 @@
#define YAML_DOMAIN "yaml.org,2002"
#include <stdio.h>
-#include "../../st.h"
+#include "st.h"
#if defined(__cplusplus)
extern "C" {
@@ -257,6 +257,10 @@ long syck_seq_count( SyckNode * );
void apply_seq_in_map( SyckParser *, SyckNode * );
+#ifndef ST_DATA_T_DEFINED
+typedef long st_data_t;
+#endif
+
#if defined(__cplusplus)
} /* extern "C" { */
#endif