diff options
Diffstat (limited to 'gprof/gprof.h')
-rw-r--r-- | gprof/gprof.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gprof/gprof.h b/gprof/gprof.h index e1ce282..1c23dd8 100644 --- a/gprof/gprof.h +++ b/gprof/gprof.h @@ -40,6 +40,10 @@ #undef PACKAGE_VERSION #include "gconfig.h" +#ifdef HAVE_SYS_TIME_H +#include <sys/time.h> +#endif + #ifndef MIN #define MIN(a,b) ((a) < (b) ? (a) : (b)) #endif @@ -58,9 +62,7 @@ #define GMONNAME "gmon.out" /* default profile filename */ #define GMONSUM "gmon.sum" /* profile summary filename */ -#ifdef HAVE_LOCALE_H -# include <locale.h> -#endif +#include <locale.h> #ifdef ENABLE_NLS /* Undefine BFD's `_' macro - it uses dgetext() and we want to use gettext(). */ |