aboutsummaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2004-08-31 15:26:40 (GMT)
committerrathnor <rathnor>2004-08-31 15:26:40 (GMT)
commitd17bf39a43a7581773c67d496e4022499d59cd26 (patch)
tree89e964e0e9a207d726e4ffefb88b19c51c591817 /src/main.cc
parent6a78695e6ed92f8631b84874dcb754d32fcf99d5 (diff)
downloadfluxbox-d17bf39a43a7581773c67d496e4022499d59cd26.zip
fluxbox-d17bf39a43a7581773c67d496e4022499d59cd26.tar.bz2
add autoconf check for std c++ headers
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc20
1 files changed, 16 insertions, 4 deletions
diff --git a/src/main.cc b/src/main.cc
index 68bb62f..3c9dc7f 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -20,7 +20,7 @@
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21// DEALINGS IN THE SOFTWARE. 21// DEALINGS IN THE SOFTWARE.
22 22
23// $Id: main.cc,v 1.30 2004/06/07 11:46:04 rathnor Exp $ 23// $Id: main.cc,v 1.31 2004/08/31 15:26:39 rathnor Exp $
24 24
25#include "fluxbox.hh" 25#include "fluxbox.hh"
26#include "version.h" 26#include "version.h"
@@ -38,9 +38,21 @@
38#define _GNU_SOURCE 38#define _GNU_SOURCE
39#endif // _GNU_SOURCE 39#endif // _GNU_SOURCE
40 40
41#include <cstdio> 41#ifdef HAVE_CSTDIO
42#include <cstdlib> 42 #include <cstdio>
43#include <cstring> 43#else
44 #include <stdio.h>
45#endif
46#ifdef HAVE_CSTDLIB
47 #include <cstdlib>
48#else
49 #include <stdlib.h>
50#endif
51#ifdef HAVE_CSTRING
52 #include <cstring>
53#else
54 #include <string.h>
55#endif
44#include <iostream> 56#include <iostream>
45#include <fstream> 57#include <fstream>
46#include <stdexcept> 58#include <stdexcept>