Add missing headers, and define MIN

SVN revision: 16552
This commit is contained in:
sebastid 2005-09-05 10:46:04 +00:00 committed by sebastid
parent d758ca86bb
commit e3ad2acd61
2 changed files with 11 additions and 0 deletions

View File

@ -5,6 +5,9 @@
#include <config.h>
#endif
#include <stdlib.h>
#include <stdio.h>
#include <Evas.h>
#include <Ecore.h>
#include <Ecore_Evas.h>

View File

@ -23,9 +23,13 @@
#include <alloca.h>
#endif
#include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <string.h>
#include <limits.h>
#ifndef ABS
#define ABS(x) (x < 0 ? -x : x)
@ -35,6 +39,10 @@
#define CLAMP(x, min, max) (((x) > (max)) ? (max) : (((x) < (min)) ? (min) : (x)))
#endif
#ifndef MIN
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
#endif
/* increment this when the EET data descriptors have changed and old
* EETs cannot be loaded/used correctly anymore.
*/