From a901a1232ab8f8432c63dc97e0efd9fed051d2c7 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 21 Sep 2012 16:58:35 -0500 Subject: Fix FTBFS on x86 systems --- korundum/bin/krubyinit.cpp | 2 ++ korundum/rubylib/korundum/Korundum.cpp | 2 ++ korundum/rubylib/korundum/kdehandlers.cpp | 2 ++ 3 files changed, 6 insertions(+) (limited to 'korundum') diff --git a/korundum/bin/krubyinit.cpp b/korundum/bin/krubyinit.cpp index 12b0f6e0..2a7f6c50 100644 --- a/korundum/bin/krubyinit.cpp +++ b/korundum/bin/krubyinit.cpp @@ -1,5 +1,7 @@ #include +#define HAVE_STRLCAT_PROTO 1 +#define HAVE_STRLCPY_PROTO 1 #include "config.h" #ifndef HAVE_RUBY_1_9 diff --git a/korundum/rubylib/korundum/Korundum.cpp b/korundum/rubylib/korundum/Korundum.cpp index 124e2a16..da9f0997 100644 --- a/korundum/rubylib/korundum/Korundum.cpp +++ b/korundum/rubylib/korundum/Korundum.cpp @@ -40,6 +40,8 @@ #include #include +#define HAVE_STRLCAT_PROTO 1 +#define HAVE_STRLCPY_PROTO 1 #include "config.h" #ifndef HAVE_RUBY_1_9 diff --git a/korundum/rubylib/korundum/kdehandlers.cpp b/korundum/rubylib/korundum/kdehandlers.cpp index 6961301f..11b97b52 100644 --- a/korundum/rubylib/korundum/kdehandlers.cpp +++ b/korundum/rubylib/korundum/kdehandlers.cpp @@ -52,6 +52,8 @@ #include #include +#define HAVE_STRLCAT_PROTO 1 +#define HAVE_STRLCPY_PROTO 1 #include "config.h" #ifndef HAVE_RUBY_1_9 -- cgit v1.2.1