1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-26 20:31:17 +00:00

move the ncurses.h include from conky.h to core.c

Fixes some namespace error with libmpdclient.c.
This commit is contained in:
Phil Sutter 2009-09-04 00:08:40 +02:00
parent ff199355f6
commit 12ab00cd2e
2 changed files with 4 additions and 4 deletions

View File

@ -127,10 +127,6 @@ char *strndup(const char *s, size_t n);
#include "apcupsd.h" #include "apcupsd.h"
#endif #endif
#ifdef NCURSES
#include <ncurses.h>
#endif
/* sony support */ /* sony support */
#include "sony.h" #include "sony.h"

View File

@ -65,6 +65,10 @@
#ifdef HAVE_ICONV #ifdef HAVE_ICONV
#include <iconv.h> #include <iconv.h>
#ifdef NCURSES
#include <ncurses.h>
#endif
#define ICONV_CODEPAGE_LENGTH 20 #define ICONV_CODEPAGE_LENGTH 20
int register_iconv(iconv_t *new_iconv); int register_iconv(iconv_t *new_iconv);