]> granicus.if.org Git - procps-ng/commitdiff
build-sys: added config.h include to nls.h (for PACKAGE str)
authorJim Warner <james.warner@comcast.net>
Tue, 1 Nov 2011 23:38:52 +0000 (18:38 -0500)
committerSami Kerola <kerolasa@iki.fi>
Tue, 20 Dec 2011 16:30:52 +0000 (17:30 +0100)
include/nls.h

index be2114ee17919b3504e34fc39e9e71ba84b5b87f..17ce836d456ffe01f565388257df6fc32cf65963 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef 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
 #define LOCALEDIR "/usr/share/locale"
 #endif