summaryrefslogtreecommitdiff
blob: 8485845f1d8ea4cef8f7b2a107215cabee5bed35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
--- src/fuser.c.mps	2004-06-08 18:21:33 +0200
+++ src/fuser.c	2004-06-08 18:27:13 +0200
@@ -31,9 +31,13 @@
 #include <linux/kdev_t.h>	/* for MKDEV */
 #include <linux/major.h>	/* for LOOP_MAJOR */
 #endif
+#ifdef USE_NLS
 #include <libintl.h>
 #include <locale.h>
 #define _(String) gettext (String)
+#else
+#define _(String) (String)
+#endif
 
 #include "comm.h"
 #include "loop.h"         /* for loop_info */
@@ -1007,9 +1011,11 @@ main (int argc, char **argv)
   no_files = 1;
 
   /* Setup the i18n */
+#ifdef USE_NLS
   setlocale(LC_ALL, "");
   bindtextdomain(PACKAGE, LOCALEDIR);
   textdomain(PACKAGE);
+#endif
 
   if (argc < 2)
     usage ();
--- src/killall.c.mps	2004-06-08 18:21:38 +0200
+++ src/killall.c	2004-06-08 18:26:51 +0200
@@ -26,9 +26,13 @@
 #include <selinux/selinux.h>
 #endif /*WITH_SELINUX*/
 
+#ifdef USE_NLS
 #include <libintl.h>
 #include <locale.h>
 #define _(String) gettext (String)
+#else
+#define _(String) (String)
+#endif
 
 #include "comm.h"
 #include "signals.h"
@@ -461,10 +465,12 @@
   pidof = strcmp (name, "killall");
   sig_num = SIGTERM;
 
+#ifdef USE_NLS
   /* Setup the i18n */
   setlocale(LC_ALL, "");
   bindtextdomain(PACKAGE, LOCALEDIR);
   textdomain(PACKAGE);
+#endif
 
   opterr = 0;
 #ifdef WITH_SELINUX
--- src/pstree.c.mps	2004-06-08 18:27:39 +0200
+++ src/pstree.c	2004-06-08 18:28:03 +0200
@@ -22,8 +22,12 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
+#ifdef USE_NLS
 #include <libintl.h>
 #define _(String) gettext (String)
+#else
+#define _(String) (String)
+#endif
 
 #include "comm.h"