opnsense-ports/graphics/gle-graphics/files/patch-src_gle_surface_ffitcontour.cpp
Franco Fichtner 72f4db398e */*: sync with upstream
Taken from: HardenedBSD
2017-08-07 09:06:02 +02:00

18 lines
520 B
C++

--- src/gle/surface/ffitcontour.cpp.orig 2011-06-13 08:36:41 UTC
+++ src/gle/surface/ffitcontour.cpp
@@ -43,15 +43,9 @@
/* "f2c.h" defines abs() -- conflict with the definition in <math.h> */
/* changing the order solves the problem */
-#if ( defined(__OS2__) && defined(__EMX__) ) || defined(__WIN32__)
#include <stdio.h>
#include <math.h>
#include "f2c.h"
-#else
-#include "f2c.h"
-#include <stdio.h>
-#include <math.h>
-#endif
doublereal gutre2_(real* a, real* b);
void gd_message__(const char *s, int l);