aboutsummaryrefslogtreecommitdiff
path: root/util
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 /util
parent6a78695e6ed92f8631b84874dcb754d32fcf99d5 (diff)
downloadfluxbox_pavel-d17bf39a43a7581773c67d496e4022499d59cd26.zip
fluxbox_pavel-d17bf39a43a7581773c67d496e4022499d59cd26.tar.bz2
add autoconf check for std c++ headers
Diffstat (limited to 'util')
-rw-r--r--util/bsetroot.cc20
-rw-r--r--util/fbrun/FbRun.cc8
2 files changed, 22 insertions, 6 deletions
diff --git a/util/bsetroot.cc b/util/bsetroot.cc
index 9735e05..86d1efb 100644
--- a/util/bsetroot.cc
+++ b/util/bsetroot.cc
@@ -18,7 +18,7 @@
18// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 18// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
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 20
21// $Id: bsetroot.cc,v 1.21 2004/06/08 13:15:30 rathnor Exp $ 21// $Id: bsetroot.cc,v 1.22 2004/08/31 15:26:40 rathnor Exp $
22 22
23#include "bsetroot.hh" 23#include "bsetroot.hh"
24 24
@@ -32,9 +32,21 @@
32 32
33#include <X11/Xatom.h> 33#include <X11/Xatom.h>
34 34
35#include <cstring> 35#ifdef HAVE_CSTRING
36#include <cstdlib> 36 #include <cstring>
37#include <cstdio> 37#else
38 #include <string.h>
39#endif
40#ifdef HAVE_CSTDLIB
41 #include <cstdlib>
42#else
43 #include <stdlib.h>
44#endif
45#ifdef HAVE_CSTDIO
46 #include <cstdio>
47#else
48 #include <stdio.h>
49#endif
38#include <iostream> 50#include <iostream>
39 51
40using namespace std; 52using namespace std;
diff --git a/util/fbrun/FbRun.cc b/util/fbrun/FbRun.cc
index 025440a..09efd12 100644
--- a/util/fbrun/FbRun.cc
+++ b/util/fbrun/FbRun.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: FbRun.cc,v 1.30 2004/04/22 21:01:58 fluxgen Exp $ 22// $Id: FbRun.cc,v 1.31 2004/08/31 15:26:40 rathnor Exp $
23 23
24#include "FbRun.hh" 24#include "FbRun.hh"
25 25
@@ -48,7 +48,11 @@
48#include <iterator> 48#include <iterator>
49#include <fstream> 49#include <fstream>
50#include <algorithm> 50#include <algorithm>
51#include <cassert> 51#ifdef HAVE_CASSERT
52 #include <cassert>
53#else
54 #include <assert.h>
55#endif
52 56
53using namespace std; 57using namespace std;
54FbRun::FbRun(int x, int y, size_t width): 58FbRun::FbRun(int x, int y, size_t width):