diff --git a/e_os.h b/e_os.h index 8a996096b..b512e1716 100644 --- a/e_os.h +++ b/e_os.h @@ -420,6 +420,9 @@ extern HINSTANCE _hInstance; #endif #if defined(sun) && !defined(__svr4__) && !defined(__SVR4) + /* include headers first, so our defines don't break it */ +#include +#include /* bcopy can handle overlapping moves according to SunOS 4.1.4 manpage */ # define memmove(s1,s2,n) bcopy((s2),(s1),(n)) # define strtoul(s,e,b) ((unsigned long int)strtol((s),(e),(b)))