Skip to content

Commit e33af1a

Browse files
authored
Adding strings.h header. (simdjson#1074)
1 parent 857d77a commit e33af1a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

include/simdjson/portability.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ use a 64-bit target such as x64 or 64-bit ARM.")
169169
// The strcasecmp, strncasecmp, and strcasestr functions do not work with multibyte strings (e.g. UTF-8).
170170
// So they are only useful for ASCII in our context.
171171
// https://www.gnu.org/software/libunistring/manual/libunistring.html#char-_002a-strings
172+
#include <strings.h>
172173
#define simdjson_strcasecmp strcasecmp
173174
#define simdjson_strncasecmp strncasecmp
174175
#endif

0 commit comments

Comments
 (0)