diff options
Diffstat (limited to 'src/main.cc')
-rw-r--r-- | src/main.cc | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/src/main.cc b/src/main.cc index ebe7718..bff3be6 100644 --- a/src/main.cc +++ b/src/main.cc | |||
@@ -20,10 +20,6 @@ | |||
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 | #ifdef HAVE_CONFIG_H | ||
24 | #include "config.h" | ||
25 | #endif // HAVE_CONFIG_H | ||
26 | |||
27 | #include "fluxbox.hh" | 23 | #include "fluxbox.hh" |
28 | #include "version.h" | 24 | #include "version.h" |
29 | #include "defaults.hh" | 25 | #include "defaults.hh" |
@@ -37,6 +33,18 @@ | |||
37 | #define _GNU_SOURCE | 33 | #define _GNU_SOURCE |
38 | #endif // _GNU_SOURCE | 34 | #endif // _GNU_SOURCE |
39 | 35 | ||
36 | #ifdef HAVE_CSTDLIB | ||
37 | #include <cstdlib> | ||
38 | #else | ||
39 | #include <stdlib.h> | ||
40 | #endif | ||
41 | |||
42 | #ifdef HAVE_CSTRING | ||
43 | #include <cstring> | ||
44 | #else | ||
45 | #include <string.h> | ||
46 | #endif | ||
47 | |||
40 | #ifdef HAVE_UNISTD_H | 48 | #ifdef HAVE_UNISTD_H |
41 | #include <unistd.h> | 49 | #include <unistd.h> |
42 | #endif | 50 | #endif |