types.h: centralize use of stddef.h

for size_t / NULL

Change-Id: If1331d3cf44296ed0ba9e838eae2f5b1bcaeb61b
This commit is contained in:
James Zern
2012-04-12 17:05:34 -07:00
parent 1c92bd37f3
commit fbd82b5a39
9 changed files with 3 additions and 11 deletions

View File

@ -12,8 +12,6 @@
#ifndef WEBP_WEBP_DECODE_VP8_H_
#define WEBP_WEBP_DECODE_VP8_H_
#include <stddef.h> // for size_t
#include "./decode.h"
#if defined(__cplusplus) || defined(c_plusplus)

View File

@ -12,8 +12,6 @@
#ifndef WEBP_WEBP_ENCODE_H_
#define WEBP_WEBP_ENCODE_H_
#include <stdlib.h>
#include "./types.h"
#if defined(__cplusplus) || defined(c_plusplus)

View File

@ -12,6 +12,8 @@
#ifndef WEBP_WEBP_TYPES_H_
#define WEBP_WEBP_TYPES_H_
#include <stddef.h> // for size_t
#ifndef _MSC_VER
#include <inttypes.h>
#ifdef __STRICT_ANSI__