diff options
author | Dave Hylands <dhylands@gmail.com> | 2014-01-12 22:34:58 -0800 |
---|---|---|
committer | Dave Hylands <dhylands@gmail.com> | 2014-01-12 22:34:58 -0800 |
commit | c8effff937442be01d36d56c77054bbdee3f3aff (patch) | |
tree | b84e6846a0a7441ef9cd05b5cb787dff02ada904 /py/objstr.c | |
parent | 34f813ee29c7191e3de455c3fc9c788496e3b29e (diff) | |
download | micropython-c8effff937442be01d36d56c77054bbdee3f3aff.tar.gz micropython-c8effff937442be01d36d56c77054bbdee3f3aff.zip |
Added public domain implementations of strchr and strstr.
Diffstat (limited to 'py/objstr.c')
-rw-r--r-- | py/objstr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/py/objstr.c b/py/objstr.c index be1f00e686..48a21c9caf 100644 --- a/py/objstr.c +++ b/py/objstr.c @@ -3,6 +3,7 @@ #include <stdarg.h> #include <string.h> #include <assert.h> +#include <sys/types.h> #include "nlr.h" #include "misc.h" |