Explorar o código

Fixed NaCl build.

bkaradzic %!s(int64=12) %!d(string=hai) anos
pai
achega
d07ededcaf
Modificáronse 2 ficheiros con 4 adicións e 2 borrados
  1. 2 2
      examples/common/entry/cmd.cpp
  2. 2 0
      examples/common/entry/entry_nacl.cpp

+ 2 - 2
examples/common/entry/cmd.cpp

@@ -3,10 +3,10 @@
  * License: http://www.opensource.org/licenses/BSD-2-Clause
  */
 
+#include <ctype.h>  // isspace
 #include <stdint.h>
 #include <stdlib.h> // size_t
-// #include <stdio.h>
-#include <ctype.h>  // isspace
+#include <string.h> // strlen
 #include <bx/hash.h>
 
 #include "dbg.h"

+ 2 - 0
examples/common/entry/entry_nacl.cpp

@@ -7,6 +7,8 @@
 
 #if BX_PLATFORM_NACL
 
+#include "entry_p.h"
+
 #include <stdio.h>
 #include <string.h>
 #include <pthread.h>