summaryrefslogtreecommitdiff
path: root/src/strings
diff options
context:
space:
mode:
Diffstat (limited to 'src/strings')
-rw-r--r--src/strings/index.c2
-rw-r--r--src/strings/rindex.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/strings/index.c b/src/strings/index.c
index 22126d81..0d5ca277 100644
--- a/src/strings/index.c
+++ b/src/strings/index.c
@@ -1,5 +1,5 @@
+#include <string.h>
#include <strings.h>
-#include "string.h"
char *index(const char *s, int c)
{
diff --git a/src/strings/rindex.c b/src/strings/rindex.c
index 17bae7e3..2050de25 100644
--- a/src/strings/rindex.c
+++ b/src/strings/rindex.c
@@ -1,3 +1,4 @@
+#include <string.h>
#include <strings.h>
char *rindex(const char *s, int c)