From d6166a5d7ed2caf58790f528bbe271f6830d17c0 Mon Sep 17 00:00:00 2001
From: Michael Meskes <meskes@postgresql.org>
Date: Sat, 27 Feb 2010 21:56:16 +0000
Subject: [PATCH] Make sure ecpg uses the same header files in the same order
 as the backend.

---
 src/interfaces/ecpg/test/expected/pgtypeslib-nan_test.c | 2 +-
 src/interfaces/ecpg/test/pgtypeslib/nan_test.pgc        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/interfaces/ecpg/test/expected/pgtypeslib-nan_test.c b/src/interfaces/ecpg/test/expected/pgtypeslib-nan_test.c
index d8c654f1430..999db79a107 100644
--- a/src/interfaces/ecpg/test/expected/pgtypeslib-nan_test.c
+++ b/src/interfaces/ecpg/test/expected/pgtypeslib-nan_test.c
@@ -9,8 +9,8 @@
 #line 1 "nan_test.pgc"
 #include <stdio.h>
 #include <stdlib.h>
-#include <math.h>
 #include <float.h>
+#include <math.h>
 #include <pgtypes_numeric.h>
 #include <decimal.h>
 
diff --git a/src/interfaces/ecpg/test/pgtypeslib/nan_test.pgc b/src/interfaces/ecpg/test/pgtypeslib/nan_test.pgc
index a136867bbdc..304b43816ae 100644
--- a/src/interfaces/ecpg/test/pgtypeslib/nan_test.pgc
+++ b/src/interfaces/ecpg/test/pgtypeslib/nan_test.pgc
@@ -1,7 +1,7 @@
 #include <stdio.h>
 #include <stdlib.h>
-#include <math.h>
 #include <float.h>
+#include <math.h>
 #include <pgtypes_numeric.h>
 #include <decimal.h>
 
-- 
GitLab