# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/mess822/hotfix-errno.patch # Copyright (C) 2004 - 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- --- ./cdb_seek.c.orig 2005-03-13 23:54:04.000000000 -0400 +++ ./cdb_seek.c 2005-03-13 23:55:56.056087544 -0400 @@ -1,6 +1,5 @@ #include #include -extern int errno; #include "cdb.h" #ifndef SEEK_SET --- ./error.h.orig 2005-03-13 23:54:04.000000000 -0400 +++ ./error.h 2005-03-13 23:54:51.509900056 -0400 @@ -1,7 +1,7 @@ #ifndef ERROR_H #define ERROR_H -extern int errno; +#include extern int error_intr; extern int error_nomem; --- ./leapsecs_read.c.orig 2005-03-13 23:54:04.000000000 -0400 +++ ./leapsecs_read.c 2005-03-13 23:56:06.308528936 -0400 @@ -2,7 +2,6 @@ #include #include #include -extern int errno; #include "tai.h" #include "leapsecs.h"