You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

10 lines
280 B

--- a/compat.c
+++ b/compat.c
@@ -51,6 +51,7 @@ int snprintf(char *str, size_t size, con
#ifndef HAVE_STRNSTR
#include <string.h>
+#include <sys/types.h>
/* FUNCTION PROGRAMER: Siberiaic Sang */
char *strnstr(const char *haystack, const char *needle, size_t haystacklen)
{