Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/stdlib sys/endian.h might not exist in the src/tool...
details: https://anonhg.NetBSD.org/src/rev/23b2094a687e
branches: trunk
changeset: 770549:23b2094a687e
user: joerg <joerg%NetBSD.org@localhost>
date: Fri Oct 21 23:45:56 2011 +0000
description:
sys/endian.h might not exist in the src/tools case
diffstat:
lib/libc/stdlib/mi_vector_hash.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r 1459bc22c73c -r 23b2094a687e lib/libc/stdlib/mi_vector_hash.c
--- a/lib/libc/stdlib/mi_vector_hash.c Fri Oct 21 21:35:28 2011 +0000
+++ b/lib/libc/stdlib/mi_vector_hash.c Fri Oct 21 23:45:56 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mi_vector_hash.c,v 1.3 2010/03/19 18:11:30 joerg Exp $ */
+/* $NetBSD: mi_vector_hash.c,v 1.4 2011/10/21 23:45:56 joerg Exp $ */
/*-
* Copyright (c) 2009 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -43,11 +43,13 @@
#endif
#include <sys/cdefs.h>
-__RCSID("$NetBSD: mi_vector_hash.c,v 1.3 2010/03/19 18:11:30 joerg Exp $");
+__RCSID("$NetBSD: mi_vector_hash.c,v 1.4 2011/10/21 23:45:56 joerg Exp $");
#include "namespace.h"
+#if !HAVE_NBTOOL_CONFIG_H || HAVE_SYS_ENDIAN_H
#include <sys/endian.h>
+#endif
#include <stdint.h>
#include <stdlib.h>
Home |
Main Index |
Thread Index |
Old Index