--- embedtools/inc/global.h 2011/06/08 09:08:43 1.1.1.1.2.21 +++ embedtools/inc/global.h 2011/06/13 20:04:12 1.2.2.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ - * $Id: global.h,v 1.1.1.1.2.21 2011/06/08 09:08:43 misho Exp $ + * $Id: global.h,v 1.2.2.1 2011/06/13 20:04:12 misho Exp $ * *************************************************************************/ #ifndef __GLOBAL_H @@ -27,7 +27,9 @@ #include #include #include +#ifdef HAVE_LIMITS_H #include +#endif #include #include #include @@ -58,9 +60,15 @@ #include #endif #include +#ifdef __NetBSD__ +#include +#else #include -#ifdef __FreeBSD__ +#endif +#if defined(__FreeBSD__) || defined(__NetBSD__) #include +#endif +#if defined(__FreeBSD__) #include #include #include