Module Name: src
Committed By: joerg
Date: Fri Oct 21 23:45:57 UTC 2011
Modified Files:
src/lib/libc/stdlib: mi_vector_hash.c
Log Message:
sys/endian.h might not exist in the src/tools case
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/libc/stdlib/mi_vector_hash.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/stdlib/mi_vector_hash.c
diff -u src/lib/libc/stdlib/mi_vector_hash.c:1.3 src/lib/libc/stdlib/mi_vector_hash.c:1.4
--- src/lib/libc/stdlib/mi_vector_hash.c:1.3 Fri Mar 19 18:11:30 2010
+++ src/lib/libc/stdlib/mi_vector_hash.c Fri Oct 21 23:45:56 2011
@@ -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>