diff options
author | rathnor <rathnor> | 2004-08-31 15:26:40 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2004-08-31 15:26:40 (GMT) |
commit | d17bf39a43a7581773c67d496e4022499d59cd26 (patch) | |
tree | 89e964e0e9a207d726e4ffefb88b19c51c591817 /util/bsetroot.cc | |
parent | 6a78695e6ed92f8631b84874dcb754d32fcf99d5 (diff) | |
download | fluxbox-d17bf39a43a7581773c67d496e4022499d59cd26.zip fluxbox-d17bf39a43a7581773c67d496e4022499d59cd26.tar.bz2 |
add autoconf check for std c++ headers
Diffstat (limited to 'util/bsetroot.cc')
-rw-r--r-- | util/bsetroot.cc | 20 |
1 files changed, 16 insertions, 4 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 | ||
40 | using namespace std; | 52 | using namespace std; |