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}
This commit is contained in:
parent
c177910d92
commit
c2c0d4ae54
@ -8,10 +8,10 @@
|
||||
#include <pthread.h>
|
||||
#include <semaphore.h>
|
||||
#include <signal.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/resource.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
// Ubuntu Dapper requires memory pages to be marked as
|
||||
// executable. Otherwise, OS raises an exception when executing code
|
||||
|
@ -13,6 +13,7 @@
|
||||
#include <pthread_np.h> // for pthread_set_name_np
|
||||
#endif
|
||||
#include <sched.h> // for sched_yield
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user