opieinfo.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- 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
{