$NetBSD: patch-ag,v 1.1.1.1 2010/02/11 08:27:09 obache Exp $ --- imtest/imtest.c.orig 2009-09-24 13:35:05.000000000 +0000 +++ imtest/imtest.c @@ -49,7 +49,9 @@ #include #include #include +#if !defined(__APPLE__) #include +#endif #include #include @@ -74,6 +76,10 @@ #include #include +#ifdef HAVE_SYS_PARAM_H +#include +#endif + #include #include