Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/librefuse Evil hack to make register_t known and f...



details:   https://anonhg.NetBSD.org/src/rev/b7c6fad22543
branches:  trunk
changeset: 348909:b7c6fad22543
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Nov 15 10:05:22 2016 +0000

description:
Evil hack to make register_t known and fix the build - XXX not sure this
is the proper fix.

diffstat:

 tests/lib/librefuse/t_refuse_opt.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 125f7e22a592 -r b7c6fad22543 tests/lib/librefuse/t_refuse_opt.c
--- a/tests/lib/librefuse/t_refuse_opt.c        Tue Nov 15 09:04:30 2016 +0000
+++ b/tests/lib/librefuse/t_refuse_opt.c        Tue Nov 15 10:05:22 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_refuse_opt.c,v 1.4 2016/11/15 00:37:18 pho Exp $ */
+/*     $NetBSD: t_refuse_opt.c,v 1.5 2016/11/15 10:05:22 martin Exp $ */
 
 /*-
  * Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -26,7 +26,10 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_refuse_opt.c,v 1.4 2016/11/15 00:37:18 pho Exp $");
+__RCSID("$NetBSD: t_refuse_opt.c,v 1.5 2016/11/15 10:05:22 martin Exp $");
+
+#define _KERNTYPES
+#include <machine/types.h>
 
 #include <atf-c.h>
 



Home | Main Index | Thread Index | Old Index