Enlightenment CVS committal
Author : sebastid
Project : e17
Module : libs/edje
Dir : e17/libs/edje/src/lib
Modified Files:
edje_private.h
Log Message:
Add missing headers, and define MIN
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/lib/edje_private.h,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -3 -r1.87 -r1.88
--- edje_private.h 28 Jul 2005 13:39:23 -0000 1.87
+++ edje_private.h 5 Sep 2005 10:46:04 -0000 1.88
@@ -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.
*/
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs