mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-26 13:48:21 +01:00
stopwatch.h: fix includes
WEBP_INLINE -> webp/types.h
memcpy -> string.h
(cherry picked from commit 54edbf65ff
)
Change-Id: Iab2ea8b553dc98be75eede751de62ab0292d1f97
This commit is contained in:
parent
6a2209aa36
commit
8301da1380
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user