aboutsummaryrefslogtreecommitdiff
path: root/src/Keys.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/Keys.cc
parent6a78695e6ed92f8631b84874dcb754d32fcf99d5 (diff)
downloadfluxbox_pavel-d17bf39a43a7581773c67d496e4022499d59cd26.zip
fluxbox_pavel-d17bf39a43a7581773c67d496e4022499d59cd26.tar.bz2
add autoconf check for std c++ headers
Diffstat (limited to 'src/Keys.cc')
-rw-r--r--src/Keys.cc32
1 files changed, 26 insertions, 6 deletions
diff --git a/src/Keys.cc b/src/Keys.cc
index aef2b8f..8b9d1ea 100644
--- a/src/Keys.cc
+++ b/src/Keys.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22//$Id: Keys.cc,v 1.43 2004/06/07 11:46:04 rathnor Exp $ 22//$Id: Keys.cc,v 1.44 2004/08/31 15:26:38 rathnor Exp $
23 23
24 24
25#include "Keys.hh" 25#include "Keys.hh"
@@ -41,10 +41,26 @@
41#include <ctype.h> 41#include <ctype.h>
42#endif // HAVE_CTYPE_H 42#endif // HAVE_CTYPE_H
43 43
44#include <cstdio> 44#ifdef HAVE_CSTDIO
45#include <cstdlib> 45 #include <cstdio>
46#include <cerrno> 46#else
47#include <cstring> 47 #include <stdio.h>
48#endif
49#ifdef HAVE_CSTDLIB
50 #include <cstdlib>
51#else
52 #include <stdlib.h>
53#endif
54#ifdef HAVE_CERRNO
55 #include <cerrno>
56#else
57 #include <errno.h>
58#endif
59#ifdef HAVE_CSTRING
60 #include <cstring>
61#else
62 #include <string.h>
63#endif
48 64
49#ifdef HAVE_SYS_TYPES_H 65#ifdef HAVE_SYS_TYPES_H
50#include <sys/types.h> 66#include <sys/types.h>
@@ -69,7 +85,11 @@
69#include <iostream> 85#include <iostream>
70#include <fstream> 86#include <fstream>
71#include <vector> 87#include <vector>
72#include <cassert> 88#ifdef HAVE_CASSERT
89 #include <cassert>
90#else
91 #include <assert.h>
92#endif
73#include <memory> 93#include <memory>
74 94
75using namespace std; 95using namespace std;