diff --git a/core/src/bindings/bind_gmtool.c b/core/src/bindings/bind_gmtool.c index 194a94906..01e4dff80 100644 --- a/core/src/bindings/bind_gmtool.c +++ b/core/src/bindings/bind_gmtool.c @@ -1,5 +1,5 @@ -#include #include +#include #include #include "bind_gmtool.h" diff --git a/core/src/gmtool.c b/core/src/gmtool.c index cc9ba43f5..6036970f9 100644 --- a/core/src/gmtool.c +++ b/core/src/gmtool.c @@ -8,8 +8,8 @@ * */ -#include #include +#include #include #include diff --git a/core/src/platform.h b/core/src/platform.h index dfce03b80..6580d3207 100644 --- a/core/src/platform.h +++ b/core/src/platform.h @@ -200,10 +200,6 @@ typedef struct _stat stat_type; # endif #endif -#ifndef HAVE_STRDUP -extern char *strdup(const char *s); -#endif - #ifndef HAVE_SLEEP #ifdef HAVE__SLEEP_MSEC # define sleep(sec) _sleep(1000*sec) diff --git a/core/src/util/listbox.c b/core/src/util/listbox.c index 48e393baa..ab3dd9eb9 100644 --- a/core/src/util/listbox.c +++ b/core/src/util/listbox.c @@ -9,8 +9,8 @@ */ /* wenn platform.h nicht vor curses included wird, kompiliert es unter windows nicht */ -#include #include +#include #include #include "listbox.h"