Source-Changes-HG archive

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

[src/trunk]: src/lib/libedit include <wchar.h> if we don't have wcsdup()



details:   https://anonhg.NetBSD.org/src/rev/1ff6bc5b09c5
branches:  trunk
changeset: 769972:1ff6bc5b09c5
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Sep 28 14:08:04 2011 +0000

description:
include <wchar.h> if we don't have wcsdup()

diffstat:

 lib/libedit/sys.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r cd664459910f -r 1ff6bc5b09c5 lib/libedit/sys.h
--- a/lib/libedit/sys.h Wed Sep 28 13:50:52 2011 +0000
+++ b/lib/libedit/sys.h Wed Sep 28 14:08:04 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sys.h,v 1.16 2011/07/29 15:20:39 christos Exp $        */
+/*     $NetBSD: sys.h,v 1.17 2011/09/28 14:08:04 christos Exp $        */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -93,6 +93,7 @@
 #endif
 
 #ifndef HAVE_WCSDUP
+#include <wchar.h>
 wchar_t *wcsdup(const wchar_t *);
 #endif
 



Home | Main Index | Thread Index | Old Index