summaryrefslogtreecommitdiff
path: root/src/regversion.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regversion.c')
-rw-r--r--src/regversion.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/regversion.c b/src/regversion.c
index de993d3..1f0faa1 100644
--- a/src/regversion.c
+++ b/src/regversion.c
@@ -2,7 +2,7 @@
regversion.c - Oniguruma (regular expression library)
**********************************************************************/
/*-
- * Copyright (c) 2002-2019 K.Kosako
+ * Copyright (c) 2002-2020 K.Kosako
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -27,8 +27,11 @@
* SUCH DAMAGE.
*/
+#ifndef NEED_TO_INCLUDE_STDIO
+#define NEED_TO_INCLUDE_STDIO
+#endif
+
#include "regint.h"
-#include <stdio.h>
extern const char*
onig_version(void)