Skip to content

Commit c78fe04

Browse files
committed
VMMain: explicitely include unistd on NaCl to please Saigo
1 parent dda6b1d commit c78fe04

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/shared/VMMain.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3434

3535
#include "common/StackTrace.h"
3636

37+
#if defined(__native_client__)
38+
#include <unistd.h>
39+
#endif
40+
3741
IPC::Channel VM::rootChannel;
3842

3943
#ifdef BUILD_VM_NATIVE_EXE

0 commit comments

Comments
 (0)