Explorar o código

need "string.h" to use "strchr".

Roberto Ierusalimschy %!s(int64=25) %!d(string=hai) anos
pai
achega
7c2fb15bec
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      ltests.c

+ 2 - 1
ltests.c

@@ -1,5 +1,5 @@
 /*
-** $Id: ltests.c,v 1.6 2000/01/24 20:11:26 roberto Exp roberto $
+** $Id: ltests.c,v 1.7 2000/02/08 16:34:31 roberto Exp roberto $
 ** Internal Module for Debugging of the Lua Implementation
 ** See Copyright Notice in lua.h
 */
@@ -7,6 +7,7 @@
 
 #include <ctype.h>
 #include <stdlib.h>
+#include <string.h>
 
 #define LUA_REENTRANT