summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2014-10-22 17:25:41 +0200
committerJames Zern <jzern@google.com>2015-03-02 18:42:28 -0800
commit8301da13801403d9e50035961283b96803c79e70 (patch)
treefc1679708a950efee0f824c88d7533dc593d1458
parent6a2209aa366a4648c9d74d3434457d704f0a8fe1 (diff)
downloadlibwebp-8301da13801403d9e50035961283b96803c79e70.tar.gz
stopwatch.h: fix includes
WEBP_INLINE -> webp/types.h memcpy -> string.h (cherry picked from commit 54edbf65ff49cc308adfa4a054d594020ca44847) Change-Id: Iab2ea8b553dc98be75eede751de62ab0292d1f97
-rw-r--r--examples/stopwatch.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/stopwatch.h b/examples/stopwatch.h
index 28518387..f9e799cb 100644
--- a/examples/stopwatch.h
+++ b/examples/stopwatch.h
@@ -14,6 +14,8 @@
#ifndef WEBP_EXAMPLES_STOPWATCH_H_
#define WEBP_EXAMPLES_STOPWATCH_H_
+#include "webp/types.h"
+
#if defined _WIN32 && !defined __GNUC__
#include <windows.h>
@@ -37,6 +39,7 @@ static WEBP_INLINE double StopwatchReadAndReset(Stopwatch* watch) {
#else /* !_WIN32 */
+#include <string.h> // memcpy
#include <sys/time.h>
typedef struct timeval Stopwatch;