Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/dev/lib/libnetsmb Wrap iconv.h also with #ifdef __N...
details: https://anonhg.NetBSD.org/src/rev/3ebfa1649f02
branches: trunk
changeset: 333785:3ebfa1649f02
user: nakayama <nakayama%NetBSD.org@localhost>
date: Sun Nov 16 15:31:12 2014 +0000
description:
Wrap iconv.h also with #ifdef __NetBSD__.
diffstat:
sys/rump/dev/lib/libnetsmb/netsmb_user.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r fadfecc523c3 -r 3ebfa1649f02 sys/rump/dev/lib/libnetsmb/netsmb_user.c
--- a/sys/rump/dev/lib/libnetsmb/netsmb_user.c Sun Nov 16 15:10:54 2014 +0000
+++ b/sys/rump/dev/lib/libnetsmb/netsmb_user.c Sun Nov 16 15:31:12 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netsmb_user.c,v 1.2 2014/11/16 04:26:46 nakayama Exp $ */
+/* $NetBSD: netsmb_user.c,v 1.3 2014/11/16 15:31:12 nakayama Exp $ */
/*
* Copyright (c) 2014 Takeshi Nakayama.
@@ -26,8 +26,10 @@
*/
#ifndef _KERNEL
#include <stddef.h>
+#include <errno.h>
+#ifdef __NetBSD__
#include <iconv.h>
-#include <errno.h>
+#endif
#include <rump/rumpuser_component.h>
Home |
Main Index |
Thread Index |
Old Index