Browse Source

must include 'string.h' because a macro uses 'strlen'

Roberto Ierusalimschy 15 years ago
parent
commit
63a2b62468
1 changed files with 2 additions and 1 deletions
  1. 2 1
      lstring.h

+ 2 - 1
lstring.h

@@ -1,5 +1,5 @@
 /*
-** $Id: lstring.h,v 1.42 2005/02/23 17:30:22 roberto Exp roberto $
+** $Id: lstring.h,v 1.43 2005/04/25 19:24:10 roberto Exp roberto $
 ** String table (keep all strings handled by Lua)
 ** See Copyright Notice in lua.h
 */
@@ -7,6 +7,7 @@
 #ifndef lstring_h
 #define lstring_h
 
+#include <string.h>
 
 #include "lgc.h"
 #include "lobject.h"