From cfbd2eaf117e4513402a5f6e1552213cf620beb3 Mon Sep 17 00:00:00 2001
From: Mark Grondona <mgrondona@llnl.gov>
Date: Sat, 23 Feb 2002 02:42:52 +0000
Subject: [PATCH]  - include root level config.h if we have it  - removed
 definitions of DEBUG_MODULE and DEBUG_SYSTEM,    these have moved to either a
 Makefile or config.h

---
 src/slurmd/Get_Mach_Stat.c | 7 ++++---
 src/slurmd/Read_Proc.c     | 5 +++++
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/src/slurmd/Get_Mach_Stat.c b/src/slurmd/Get_Mach_Stat.c
index 15f53622df0..623bda499a6 100644
--- a/src/slurmd/Get_Mach_Stat.c
+++ b/src/slurmd/Get_Mach_Stat.c
@@ -9,6 +9,10 @@
  * Author: Moe Jette, jette@llnl.gov
  */
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include <errno.h>
 #include <fcntl.h> 
 #include <stdio.h>
@@ -21,9 +25,6 @@
 
 #include "slurm.h"
 
-#define DEBUG_MODULE 1
-#define DEBUG_SYSTEM 1
-
 int Get_CPUs(int *CPUs);
 int Get_Mach_Name(char *Node_Name);
 int Get_Memory(int *RealMemory);
diff --git a/src/slurmd/Read_Proc.c b/src/slurmd/Read_Proc.c
index 23b9f9ce3e3..8722f01c202 100644
--- a/src/slurmd/Read_Proc.c
+++ b/src/slurmd/Read_Proc.c
@@ -5,6 +5,11 @@
  *
  * Author: Moe Jette, jette@llnl.gov
  */
+
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif 
+
 #include <dirent.h>
 #include <errno.h>
 #include <fcntl.h>
-- 
GitLab