opie (2.32.dfsg.1-0.2+squeeze1) opieinfo.c

Summary

 opieinfo.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

    
download this patch

Patch contents

--- opie-2.32.dfsg.1.orig/opieinfo.c
+++ opie-2.32.dfsg.1/opieinfo.c
@@ -33,6 +33,7 @@
 
 #include "opie_cfg.h"
 #include <stdio.h>
+#include <errno.h>
 #if HAVE_UNISTD_H
 #include <unistd.h>
 #endif /* HAVE_UNISTD_H */
@@ -42,7 +43,7 @@
 #include "opie.h"
 
 /* extern char *optarg; */
-extern int errno, optind;
+extern int optind;
 
 static char *getusername FUNCTION_NOARGS
 {