Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/include/rump Give includers a way to say "yea I'll ...
details: https://anonhg.NetBSD.org/src/rev/966f7ffbeb77
branches: trunk
changeset: 789335:966f7ffbeb77
user: pooka <pooka%NetBSD.org@localhost>
date: Thu Aug 15 21:21:47 2013 +0000
description:
Give includers a way to say "yea I'll just deal with the type
compat on my own, thank you very many"
diffstat:
sys/rump/include/rump/rump_syscalls_compat.h | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r 69b9f002af43 -r 966f7ffbeb77 sys/rump/include/rump/rump_syscalls_compat.h
--- a/sys/rump/include/rump/rump_syscalls_compat.h Thu Aug 15 21:19:13 2013 +0000
+++ b/sys/rump/include/rump/rump_syscalls_compat.h Thu Aug 15 21:21:47 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump_syscalls_compat.h,v 1.11 2013/08/15 21:16:12 pooka Exp $ */
+/* $NetBSD: rump_syscalls_compat.h,v 1.12 2013/08/15 21:21:47 pooka Exp $ */
/*-
* Copyright (c) 2010, 2011 Antti Kantee. All Rights Reserved.
@@ -28,11 +28,14 @@
#ifndef _RUMP_RUMP_SYSCALLS_COMPAT_H_
#define _RUMP_RUMP_SYSCALLS_COMPAT_H_
+/* should have a smaller hammer here */
+#ifndef RUMP_HOST_NOT_POSIX
#include <sys/types.h> /* typedefs */
#include <sys/select.h> /* typedefs */
#include <sys/socket.h> /* typedefs */
#include <signal.h> /* typedefs */
+#endif
#ifdef __NetBSD__
#include <sys/cdefs.h>
Home |
Main Index |
Thread Index |
Old Index