File PosteRazor-fix-gcc-errors.patch of Package PosteRazor

diff -Naur a/src/FlPosteRazorDialog.cpp b/src/FlPosteRazorDialog.cpp
--- a/src/FlPosteRazorDialog.cpp	2008-07-21 22:24:40.000000000 -0500
+++ b/src/FlPosteRazorDialog.cpp	2013-09-09 15:14:39.859232156 -0500
@@ -29,7 +29,7 @@
 #include <FL/x.H>
 #include <FL/Fl_Native_File_Chooser.H>
 #include "TranslationConstants.h"
-
+#include <unistd.h>
 
 #if defined (WIN32)
   #include <math.h>
diff -Naur a/src/FlPosteRazorHelpDialog.cpp b/src/FlPosteRazorHelpDialog.cpp
--- a/src/FlPosteRazorHelpDialog.cpp	2008-07-21 22:24:40.000000000 -0500
+++ b/src/FlPosteRazorHelpDialog.cpp	2013-09-09 13:54:11.814337835 -0500
@@ -29,6 +29,7 @@
   #define CASESENSITIVESTRNCMP strnicmp
 #else
   #include <cstring>
+  #include <string.h>
   #define CASESENSITIVESTRCMP strcasecmp
   #define CASESENSITIVESTRNCMP strncasecmp
 #endif
openSUSE Build Service is sponsored by