--- MITgcm/tools/mpack-1.6/unixpk.c 2008/02/26 17:05:00 1.4 +++ MITgcm/tools/mpack-1.6/unixpk.c 2008/03/12 20:38:49 1.5 @@ -26,7 +26,9 @@ #include #include #include +#ifdef HAVE_GETOPT_H #include +#endif #include #include #include