Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/sys/sys prevent re-defines
details: https://anonhg.NetBSD.org/src/rev/ec8bb6689ecb
branches: trunk
changeset: 343371:ec8bb6689ecb
user: christos <christos%NetBSD.org@localhost>
date: Mon Feb 01 02:09:54 2016 +0000
description:
prevent re-defines
diffstat:
external/cddl/osnet/sys/sys/errno.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r c87bda8c031c -r ec8bb6689ecb external/cddl/osnet/sys/sys/errno.h
--- a/external/cddl/osnet/sys/sys/errno.h Sun Jan 31 23:41:38 2016 +0000
+++ b/external/cddl/osnet/sys/sys/errno.h Mon Feb 01 02:09:54 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: errno.h,v 1.1 2009/08/07 20:57:57 haad Exp $ */
+/* $NetBSD: errno.h,v 1.2 2016/02/01 02:09:54 christos Exp $ */
/*-
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -29,7 +29,11 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+#ifndef EBADE
#define EBADE ENOSR
+#endif
+#ifndef EBADR
#define EBADR ENOSTR
+#endif
#include_next <sys/errno.h>
Home |
Main Index |
Thread Index |
Old Index