]> granicus.if.org Git - procps-ng/commitdiff
library <STAT>: exclude an #include for --disable-numa
authorJim Warner <james.warner@comcast.net>
Tue, 9 Aug 2016 10:55:55 +0000 (05:55 -0500)
committerCraig Small <csmall@enc.com.au>
Wed, 10 Aug 2016 21:57:55 +0000 (07:57 +1000)
When the numa stuff was imported from the top program,
that #include for dlopen() was not made conditional as
it should have been. Well, here it is being corrected.

Signed-off-by: Jim Warner <james.warner@comcast.net>
proc/stat.c

index 5c3f3b8724cc9838527f71b6ba562769d93492e0..43665aacceb711b948efe87babe880a559b5acfe 100644 (file)
@@ -16,7 +16,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#ifndef NUMA_DISABLE
 #include <dlfcn.h>
+#endif
 #include <errno.h>
 #include <fcntl.h>
 #include <stdio.h>