Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/librumpuser make work on nb5 again



details:   https://anonhg.NetBSD.org/src/rev/2af2d298cb3b
branches:  trunk
changeset: 763512:2af2d298cb3b
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue Mar 22 22:27:33 2011 +0000

description:
make work on nb5 again

diffstat:

 lib/librumpuser/rumpuser_dl.c |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r fd2ce7a98f19 -r 2af2d298cb3b lib/librumpuser/rumpuser_dl.c
--- a/lib/librumpuser/rumpuser_dl.c     Tue Mar 22 22:17:44 2011 +0000
+++ b/lib/librumpuser/rumpuser_dl.c     Tue Mar 22 22:27:33 2011 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: rumpuser_dl.c,v 1.6 2011/03/16 11:44:01 njoly Exp $   */
+/*      $NetBSD: rumpuser_dl.c,v 1.7 2011/03/22 22:27:33 pooka Exp $   */
 
 /*
  * Copyright (c) 2009 Antti Kantee.  All Rights Reserved.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: rumpuser_dl.c,v 1.6 2011/03/16 11:44:01 njoly Exp $");
+__RCSID("$NetBSD: rumpuser_dl.c,v 1.7 2011/03/22 22:27:33 pooka Exp $");
 
 #include <sys/types.h>
 #include <sys/time.h>
@@ -57,6 +57,11 @@
 static char *strtab = NULL;
 static unsigned char eident;
 
+/* nb5 compat */
+#ifndef Elf_Symindx
+#define Elf_Symindx uint32_t
+#endif
+
 static void *
 reservespace(void *store, size_t *storesize,
        size_t storeoff, size_t required)



Home | Main Index | Thread Index | Old Index