ketm (0.0.6-22) 020_errno.diff

Summary

 loadlv.c |    2 --
 loadlv.h |    1 +
 2 files changed, 1 insertion(+), 2 deletions(-)

    
download this patch

Patch contents

Index: ketm-0.0.6/loadlv.c
===================================================================
--- ketm-0.0.6.orig/loadlv.c	2006-05-15 20:01:32.000000000 +0200
+++ ketm-0.0.6/loadlv.c	2006-05-15 20:01:41.000000000 +0200
@@ -1,7 +1,5 @@
 #include "loadlv.h"
 
-extern int errno;
-
 LEVELENTRY *leveltab=NULL;
 
 int loadlv(int level)
Index: ketm-0.0.6/loadlv.h
===================================================================
--- ketm-0.0.6.orig/loadlv.h	2001-09-13 13:33:17.000000000 +0200
+++ ketm-0.0.6/loadlv.h	2006-05-15 20:01:41.000000000 +0200
@@ -5,6 +5,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <ctype.h>
+#include <errno.h>
 
 
 typedef struct _levelentry {