--- bin/adv1tov2/adv1tov2.c~ 2009-03-29 09:23:20.000000000 +0200 +++ bin/adv1tov2/adv1tov2.c 2009-11-10 18:36:50.000000000 +0100 @@ -8,16 +8,16 @@ #include "config.h" #endif /* HAVE_CONFIG_H */ -#include +#ifdef HAVE_UNISTD_H +#include +#endif /* HAVE_UNISTD_H */ + #include #include #include #ifdef HAVE_FCNTL_H #include #endif /* HAVE_FCNTL_H */ -#ifdef HAVE_UNISTD_H -#include -#endif /* HAVE_UNISTD_H */ #include #include #include @@ -25,6 +25,7 @@ #include #include +#include #include #if AD_VERSION == AD_VERSION2