From 6f56a32431739930119209cb67db51fd49cb25d7 Mon Sep 17 00:00:00 2001
From: Jean-Francois Remacle <jean-francois.remacle@uclouvain.be>
Date: Mon, 18 May 2009 08:37:02 +0000
Subject: [PATCH] missing headers (stdio.h)

---
 Fltk/messageWindow.cpp | 1 +
 Geo/SVector3.h         | 1 +
 Graphics/drawPost.cpp  | 2 --
 3 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Fltk/messageWindow.cpp b/Fltk/messageWindow.cpp
index 0a0c03ae3f..344b659f49 100644
--- a/Fltk/messageWindow.cpp
+++ b/Fltk/messageWindow.cpp
@@ -3,6 +3,7 @@
 // See the LICENSE.txt file for license information. Please report all
 // bugs and problems to <gmsh@geuz.org>.
 
+#include <stdio.h>
 #include <string.h>
 #include <FL/Fl_Box.H>
 #include <FL/Fl_Return_Button.H>
diff --git a/Geo/SVector3.h b/Geo/SVector3.h
index 1491809935..da0c486a1b 100644
--- a/Geo/SVector3.h
+++ b/Geo/SVector3.h
@@ -8,6 +8,7 @@
 
 #include "SPoint3.h"
 #include <string>
+#include <stdio.h>
 
 // concrete class for vector of size 3
 class SVector3 {
diff --git a/Graphics/drawPost.cpp b/Graphics/drawPost.cpp
index feba6adf7d..78d77b1abe 100644
--- a/Graphics/drawPost.cpp
+++ b/Graphics/drawPost.cpp
@@ -729,12 +729,10 @@ static void addOutlinePrism(PView *p, double xyz[NMAX][3], unsigned int color,
   for(int i = 0; i < 2; i++)
     addOutlineTriangle(p, xyz, color, pre, it[i][0], it[i][1], it[i][2]);
 }
-
 static void addScalarPrism(PView *p, double xyz[NMAX][3], double val[NMAX][9],
 			   bool pre)
 {
   PViewOptions *opt = p->getOptions();
-
   const int iq[3][4] = {{0, 1, 4, 3}, {0, 3, 5, 2}, {1, 2, 5, 4}};
   const int it[2][3] = {{0, 2, 1}, {3, 4, 5}};
   const int is[3][4] = {{0, 1, 2, 3}, {3, 4, 5, 2}, {1, 2, 4, 3}};
-- 
GitLab