build-sys: added config.h include to nls.h (for PACKAGE str)

This commit is contained in:
Jim Warner 2011-11-01 18:38:52 -05:00 committed by Sami Kerola
parent 50fca987cc
commit 692dcb531c

View File

@ -1,6 +1,10 @@
#ifndef PROCPS_NG_NLS_H #ifndef PROCPS_NG_NLS_H
#define PROCPS_NG_NLS_H #define PROCPS_NG_NLS_H
/* programs issuing textdomain() need PACKAGE string */
#include "../config.h"
/* programs issuing bindtextdomain() also need LOCALEDIR string */
#ifndef LOCALEDIR #ifndef LOCALEDIR
#define LOCALEDIR "/usr/share/locale" #define LOCALEDIR "/usr/share/locale"
#endif #endif