diff -urN src-old/lib/Liblog/pbs_log.c src/lib/Liblog/pbs_log.c --- src-old/lib/Liblog/pbs_log.c 2003-07-30 17:04:55.000000000 -0500 +++ src/lib/Liblog/pbs_log.c 2003-07-30 17:04:00.000000000 -0500 @@ -109,7 +109,7 @@ /* Global Data */ -extern int errno; +#include char log_buffer[LOG_BUF_SIZE]; char log_directory[_POSIX_PATH_MAX/2]; diff -urN src-old/scheduler.basl/af_resmom.c src/scheduler.basl/af_resmom.c --- src-old/scheduler.basl/af_resmom.c 2003-07-30 17:04:56.000000000 -0500 +++ src/scheduler.basl/af_resmom.c 2003-07-30 17:04:00.000000000 -0500 @@ -103,7 +103,7 @@ static char ident[] = "@(#) $RCSfile: openpbs-2.3.16-errno-fixup.patch,v $ $Revision: 1.1 $"; /* External Variables */ -extern int errno; +#include /* External Functions */ extern int diff -urN src-old/server/svr_connect.c src/server/svr_connect.c --- src-old/server/svr_connect.c 2003-07-30 17:04:56.000000000 -0500 +++ src/server/svr_connect.c 2003-07-30 17:04:00.000000000 -0500 @@ -113,7 +113,7 @@ struct connect_handle connection[PBS_NET_MAX_CONNECTIONS]; /* used by API */ -extern int errno; +#include extern int pbs_errno; extern unsigned int pbs_server_port_dis;