* _scm.h: Removed #include <errno.h>.
[bpt/guile.git] / libguile / error.c
index 56454c8..ee8ef2f 100644 (file)
@@ -1,4 +1,4 @@
-/*     Copyright (C) 1995,1996,1997,1998, 2000 Free Software Foundation, Inc.
+/*     Copyright (C) 1995,1996,1997,1998, 2000, 2001 Free Software Foundation, Inc.
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -45,6 +45,7 @@
 \f
 
 #include <stdio.h>
+#include <errno.h>
 
 #include "libguile/_scm.h"
 #include "libguile/pairs.h"
@@ -67,8 +68,6 @@
  */
 
 
-extern int errno;
-
 /* All errors should pass through here.  */
 void
 scm_error (SCM key, const char *subr, const char *message, SCM args, SCM rest)