summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-02-27 01:00:55 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-02-27 01:00:55 +0000
commit494c2d9191566c4dba4b9a98ce5cd05c07509aa4 (patch)
tree5f381feac8176d814e1a9e51717ea292518cefa5
parentc719f3adbeef8431e14816cd669c8d4463553248 (diff)
Protect against multiple inclusion.
-rw-r--r--sys/sys/errno.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/sys/errno.h b/sys/sys/errno.h
index e9835629029..e726a1d3f27 100644
--- a/sys/sys/errno.h
+++ b/sys/sys/errno.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: errno.h,v 1.5 1996/07/26 10:34:28 deraadt Exp $ */
+/* $OpenBSD: errno.h,v 1.6 1997/02/27 01:00:54 millert Exp $ */
/* $NetBSD: errno.h,v 1.10 1996/01/20 01:33:53 jtc Exp $ */
/*
@@ -41,6 +41,9 @@
* @(#)errno.h 8.5 (Berkeley) 1/21/94
*/
+#ifndef _SYS_ERRNO_H_
+#define _SYS_ERRNO_H_
+
#ifndef _KERNEL
extern int errno; /* global error number */
@@ -171,3 +174,5 @@ extern char *sys_errlist[];
#define ERESTART -1 /* restart syscall */
#define EJUSTRETURN -2 /* don't modify regs, just return */
#endif
+
+#endif