aboutsummaryrefslogtreecommitdiffstats
path: root/missing/strchr.c
diff options
context:
space:
mode:
Diffstat (limited to 'missing/strchr.c')
-rw-r--r--missing/strchr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/missing/strchr.c b/missing/strchr.c
index bebd7ba578..719a1be8be 100644
--- a/missing/strchr.c
+++ b/missing/strchr.c
@@ -1,5 +1,7 @@
/* public domain rewrite of strchr(3) and strrchr(3) */
+#include "ruby/missing.h"
+
char *
strchr(const char *s, int c)
{