From 90f4f1ecc1635fd5d144f86d64b1674958d0a59f Mon Sep 17 00:00:00 2001
From: Mark Tiefenbruck <mark@fluxbox.org>
Date: Fri, 14 Dec 2007 14:21:39 -0800
Subject: fix compile issue with gcc 4.3

---
 ChangeLog   | 3 +++
 src/main.cc | 6 ++++++
 2 files changed, 9 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 0ed65f7..6981683 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
  (Format: Year/Month/Day)
 Changes for 1.0.1:
+*07/12/14:
+   * Fix compiling with gcc 4.3 (thanks Dmitry E. Oboukhov)
+     main.cc
 *07/12/13:
    * Fix configure option --with-style (thanks Slava Semushin)
      configure.in Makefile.am
diff --git a/src/main.cc b/src/main.cc
index e4e16ac..ab18f6c 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -45,6 +45,12 @@
   #include <stdlib.h>
 #endif
 
+#ifdef HAVE_CSTRING
+  #include <cstring>
+#else
+  #include <string.h>
+#endif
+
 #include <iostream>
 #include <fstream>
 #include <stdexcept>
-- 
cgit v0.11.2