chiark
/
gitweb
/
~mdw
/
tig
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make configure search for the ncursesw library first
[tig]
/
tig.c
diff --git
a/tig.c
b/tig.c
index fcbf93c51aa4047619526db4a89b32ba7ab8ae45..81bc52b8f35845bd7c30c14828bcb6c74f21446f 100644
(file)
--- a/
tig.c
+++ b/
tig.c
@@
-42,6
+42,9
@@
#include <langinfo.h>
#include <iconv.h>
+/* ncurses(3): Must be defined to have extended wide-character functions. */
+#define _XOPEN_SOURCE_EXTENDED
+
#include <curses.h>
#if __GNUC__ >= 3