Bug 18328 - dev-db/cdb-0.75 fails to compile with glibc-2.3.2, #include <errno.h> works around
Bug#: 18328 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: seemant@gentoo.org Reported By: nikai@nikai.net
Component: Development
URL: 
Summary: dev-db/cdb-0.75 fails to compile with glibc-2.3.2, #include <errno.h> works around
Keywords:  
Status Whiteboard: 
Opened: 2003-03-27 18:25 0000
Description:   Opened: 2003-03-27 18:25 0000
0.75-errno.patch
Have a nice day

--- error.h.orig        2003-03-28 00:07:50.000000000 +0100
+++ error.h     2003-03-28 00:08:28.000000000 +0100
@@ -1,7 +1,7 @@
 #ifndef ERROR_H
 #define ERROR_H
 
-extern int errno;
+#include <errno.h>
 
 extern int error_intr;
 extern int error_nomem;

Reproducible: Always
Steps to Reproduce:
1. emerge cdb

Actual Results:  
fails to compile

------- Comment #1 From Seemant Kulleen (RETIRED) 2003-03-29 07:23:04 0000 -------
thanks nicolas.