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/29996af042d1
branches:  trunk
changeset: 803927:29996af042d1
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 b55ab2b6b08f -r 29996af042d1 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