[gegl] operations: include <math.h> for NAN in exp-combine.c



commit b1f6f901a4a87870a391dd0a93368268a38e5494
Author: Martin Nordholts <martinn src gnome org>
Date:   Sat Oct 2 19:46:03 2010 +0200

    operations: include <math.h> for NAN in exp-combine.c
    
    include <math.h> for NAN in exp-combine.c and sort includes, put
    system headers first so compile errors due to incompabilities is
    reported in our own headers.

 operations/common/exp-combine.c |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/operations/common/exp-combine.c b/operations/common/exp-combine.c
index 07602c1..0db4367 100644
--- a/operations/common/exp-combine.c
+++ b/operations/common/exp-combine.c
@@ -53,11 +53,14 @@ typedef struct
 #include "gegl-chant.h"
 GEGL_DEFINE_DYNAMIC_OPERATION(GEGL_TYPE_OPERATION_FILTER)
 
+#include <errno.h>
+#include <math.h>
+#include <stdio.h>
+
+#include "gegl-debug.h"
 #include "graph/gegl-node.h"
 #include "graph/gegl-pad.h"
-#include "gegl-debug.h"
-#include <stdio.h>
-#include <errno.h>
+
 
 static const gchar *PAD_FORMAT = "R'G'B' float";
 static const gchar *EXP_PREFIX = "exposure-";



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]