freefem++ (3.19.1-1) src-Graphics-sansgraph-cpp.patch

Summary

 src/Graphics/sansrgraph.cpp |    1 +
 1 file changed, 1 insertion(+)

    
download this patch

Patch contents

Fix FTBFS due to recent g++-4.7
--- a/src/Graphics/sansrgraph.cpp
+++ b/src/Graphics/sansrgraph.cpp
@@ -34,6 +34,7 @@
 #include <iostream>
 #include <cassert>
 #include "rgraph.hpp"
+#include <unistd.h>
 
 #include "error.hpp"
 #ifdef macintoshxx