Commit 91a6039f authored by kasperl@chromium.org's avatar kasperl@chromium.org

Fix lint issues. TBR=mikhail.naganov@gmail.com

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2551 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent b2fc0598
...@@ -4,8 +4,12 @@ ...@@ -4,8 +4,12 @@
#ifdef ENABLE_LOGGING_AND_PROFILING #ifdef ENABLE_LOGGING_AND_PROFILING
#include "v8.h" #ifdef __linux__
#include <signal.h>
#include <unistd.h>
#endif
#include "v8.h"
#include "log.h" #include "log.h"
#include "cctest.h" #include "cctest.h"
...@@ -150,9 +154,6 @@ using v8::internal::LoggerTestHelper; ...@@ -150,9 +154,6 @@ using v8::internal::LoggerTestHelper;
static bool was_sigprof_received = true; static bool was_sigprof_received = true;
#ifdef __linux__ #ifdef __linux__
#include <signal.h>
#include <unistd.h>
struct sigaction old_sigprof_handler; struct sigaction old_sigprof_handler;
static void SigProfSignalHandler(int signal, siginfo_t* info, void* context) { static void SigProfSignalHandler(int signal, siginfo_t* info, void* context) {
......
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