Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Allow compilation with GCC-4.7.

Fewer system headers include <stdio.h> since 4.7, according to the release
changes list:

  "Avoid polluting the global namespace by inclusion of <unistd.h>."

So we must include it ourselves. This is based on an upstream patch
by Hicham Haouari:

  http://pkgs.fedoraproject.org/gitweb/?p=gnash.git;a=blob;f=gnash-0.8.10-add-unistd-header.patch;h=d2995180546f27a8f30162b2d4a0f8e15de9a9bb;hb=HEAD
  • Loading branch information...
commit 39fcd5139996c6d07d659c5b771f0e84711f9c46 1 parent 906b0cf
Bastiaan Jacques authored
Showing with 4 additions and 1 deletion.
  1. +3 −1 plugin/klash4/Makefile.am
  2. +1 −0  plugin/klash4/klash_part.cpp
4 plugin/klash4/Makefile.am
View
@@ -23,7 +23,9 @@ AM_CPPFLAGS = \
$(KDE4_CFLAGS) \
$(QT4_CFLAGS) \
$(X11_CFLAGS) \
- -DGNASHBINDIR=\"${bindir}\"
+ -I$(top_srcdir)/libbase \
+ -DGNASHBINDIR=\"${bindir}\" \
+ $(NULL)
plugindir = $(KDE4_PLUGINDIR)
kde_servicesdir = $(KDE4_SERVICESDIR)
1  plugin/klash4/klash_part.cpp
View
@@ -43,6 +43,7 @@
#include "klash_part.h"
#include <csignal>
+#include "GnashSystemIOHeaders.h"
//-----------------------------------------------------------------------------
Please sign in to comment.
Something went wrong with that request. Please try again.