]> granicus.if.org Git - procps-ng/commitdiff
top: repositioned nls.h to avoid redefine of procps.h restrict
authorJim Warner <james.warner@comcast.net>
Thu, 3 Nov 2011 22:31:00 +0000 (17:31 -0500)
committerCraig Small <csmall@enc.com.au>
Thu, 22 Dec 2011 12:48:05 +0000 (23:48 +1100)
top/top.c

index e5d98decb40e0a465b87c9e91c5bc448dac4183e..ad28cda616b49b9073d46891ec5a1f22a6eafeb2 100644 (file)
--- a/top/top.c
+++ b/top/top.c
@@ -41,6 +41,8 @@
 #include <unistd.h>
 #include <values.h>
 
+#include "../include/nls.h"
+
 #include "../proc/devname.h"
 #include "../proc/procps.h"
 #include "../proc/readproc.h"
@@ -50,8 +52,6 @@
 #include "../proc/wchan.h"
 #include "../proc/whattime.h"
 
-#include "../include/nls.h"
-
 #include "top.h"
 #include "top_nls.h"