aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/skiaserve
diff options
context:
space:
mode:
Diffstat (limited to 'tools/skiaserve')
-rw-r--r--tools/skiaserve/Request.h2
-rw-r--r--tools/skiaserve/urlhandlers/QuitHandler.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/tools/skiaserve/Request.h b/tools/skiaserve/Request.h
index 7a5daf55d1..0b6ed3b467 100644
--- a/tools/skiaserve/Request.h
+++ b/tools/skiaserve/Request.h
@@ -8,6 +8,8 @@
#ifndef Request_DEFINED
#define Request_DEFINED
+#include "SkTypes.h"
+
#if SK_SUPPORT_GPU
#include "GrContextFactory.h"
#endif
diff --git a/tools/skiaserve/urlhandlers/QuitHandler.cpp b/tools/skiaserve/urlhandlers/QuitHandler.cpp
index a9196a0c69..fa8045cda9 100644
--- a/tools/skiaserve/urlhandlers/QuitHandler.cpp
+++ b/tools/skiaserve/urlhandlers/QuitHandler.cpp
@@ -22,5 +22,5 @@ bool QuitHandler::canHandle(const char* method, const char* url) {
int QuitHandler::handle(Request* request, MHD_Connection* connection,
const char* url, const char* method,
const char* upload_data, size_t* upload_data_size) {
- exit(0);
+ _exit(0);
}