diff --git a/utils/string.h b/utils/string.h index 38f564494..03d891700 100644 --- a/utils/string.h +++ b/utils/string.h @@ -24,10 +24,6 @@ #ifndef _NETSURF_UTILS_STRING_H_ #define _NETSURF_UTILS_STRING_H_ -#if defined(__HAIKU__) || defined(__BEOS__) -#include -#endif - #include #include diff --git a/utils/utils.h b/utils/utils.h index d4bad9d0c..d87c9a0db 100644 --- a/utils/utils.h +++ b/utils/utils.h @@ -94,6 +94,7 @@ struct dirent; #endif #if defined(__HAIKU__) || defined(__BEOS__) +#include #define strtof(s,p) ((float)(strtod((s),(p)))) #endif