Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/libelf/dist <machine/elf.h> is a FreeBSD-specif...
details: https://anonhg.NetBSD.org/src/rev/bccbc8a0181f
branches: trunk
changeset: 750159:bccbc8a0181f
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sat Dec 19 07:37:34 2009 +0000
description:
<machine/elf.h> is a FreeBSD-specific header.
diffstat:
external/bsd/libelf/dist/libelf.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r e3f02fd987f2 -r bccbc8a0181f external/bsd/libelf/dist/libelf.c
--- a/external/bsd/libelf/dist/libelf.c Sat Dec 19 07:33:06 2009 +0000
+++ b/external/bsd/libelf/dist/libelf.c Sat Dec 19 07:37:34 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: libelf.c,v 1.1.1.1 2009/12/19 05:43:40 thorpej Exp $ */
+/* $NetBSD: libelf.c,v 1.2 2009/12/19 07:37:34 thorpej Exp $ */
/*-
* Copyright (c) 2006 Joseph Koshy
@@ -28,11 +28,13 @@
#include <sys/cdefs.h>
/* __FBSDID("$FreeBSD: src/lib/libelf/libelf.c,v 1.1.10.1.2.1 2009/10/25 01:10:29 kensmith Exp $"); */
-__RCSID("$NetBSD: libelf.c,v 1.1.1.1 2009/12/19 05:43:40 thorpej Exp $");
+__RCSID("$NetBSD: libelf.c,v 1.2 2009/12/19 07:37:34 thorpej Exp $");
#include <sys/param.h>
+#if defined(__FreeBSD__)
#include <machine/elf.h>
+#endif /* __FreeBSD__ */
#include <machine/endian.h>
#include <libelf.h>
Home |
Main Index |
Thread Index |
Old Index