summaryrefslogtreecommitdiff
path: root/usr.bin/sudo/sudo.h
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2004-05-31 18:47:50 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2004-05-31 18:47:50 +0000
commit0c26fa8c001c9f0604aac26e94874030577145bf (patch)
tree90fe7950667969e34b4c0bebdea446f126e49353 /usr.bin/sudo/sudo.h
parentf2580de928c3832d8646b0b4ce9309f4bd0d513c (diff)
#ifndef errno declaration. ok millert@
Diffstat (limited to 'usr.bin/sudo/sudo.h')
-rw-r--r--usr.bin/sudo/sudo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/sudo/sudo.h b/usr.bin/sudo/sudo.h
index afc01c7cbc9..1a13b82b732 100644
--- a/usr.bin/sudo/sudo.h
+++ b/usr.bin/sudo/sudo.h
@@ -254,6 +254,8 @@ extern uid_t timestamp_uid;
extern void (*set_perms) __P((int));
#endif
+#ifndef errno
extern int errno;
+#endif
#endif /* _SUDO_SUDO_H */