Commit c2c0d4ae authored by alexanderk's avatar alexanderk Committed by Commit bot

Fix include mistakes

1) Missing <stdio.h> while using fopen, fclose, fseek etc
2) platform-linux.cc includes <sys/types.h> wtice

BUG=v8:3691

Review URL: https://codereview.chromium.org/716123003

Cr-Commit-Position: refs/heads/master@{#25395}
parent c177910d
...@@ -8,10 +8,10 @@ ...@@ -8,10 +8,10 @@
#include <pthread.h> #include <pthread.h>
#include <semaphore.h> #include <semaphore.h>
#include <signal.h> #include <signal.h>
#include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/resource.h> #include <sys/resource.h>
#include <sys/time.h> #include <sys/time.h>
#include <sys/types.h>
// Ubuntu Dapper requires memory pages to be marked as // Ubuntu Dapper requires memory pages to be marked as
// executable. Otherwise, OS raises an exception when executing code // executable. Otherwise, OS raises an exception when executing code
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
#include <pthread_np.h> // for pthread_set_name_np #include <pthread_np.h> // for pthread_set_name_np
#endif #endif
#include <sched.h> // for sched_yield #include <sched.h> // for sched_yield
#include <stdio.h>
#include <time.h> #include <time.h>
#include <unistd.h> #include <unistd.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment