Index: nco-4.0.1/src/nco/nco_var_utl.c =================================================================== --- nco-4.0.1/src/nco/nco_var_utl.c +++ nco-4.0.1/src/nco/nco_var_utl.c 2010-04-13 18:24:49.000000000 +0200 @@ -6,6 +6,7 @@ License: GNU General Public License (GPL) Version 3 See http://www.gnu.org/copyleft/gpl.html for full license text */ +#define MAIN_PROGRAM_FILE /* Need for some functions ddefind from nco.h */ #include "nco_var_utl.h" /* Variable utilities */ int /* O [id] Output file variable ID */