From 790cf6b9f86e8d587b53e84f59a064f119449bf8 Mon Sep 17 00:00:00 2001
From: Danny Auble <da@llnl.gov>
Date: Wed, 25 Apr 2007 17:39:08 +0000
Subject: [PATCH] fix for non bgl systems

---
 src/common/hostlist.c | 3 ++-
 src/common/hostlist.h | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/common/hostlist.c b/src/common/hostlist.c
index eb7db7c8ae1..d576f57d155 100644
--- a/src/common/hostlist.c
+++ b/src/common/hostlist.c
@@ -168,6 +168,8 @@ strong_alias(hostset_nth,		slurm_hostset_nth);
 /* ----[ Internal Data Structures ]---- */
 
 
+char *alpha_num = "0123456789ABCDEFGHIJKLMNOPQRSTUZWXYZ";
+
 #ifdef HAVE_BG		
 /* logic for block node description */
 /* We allocate space for three digits, 
@@ -175,7 +177,6 @@ strong_alias(hostset_nth,		slurm_hostset_nth);
 bool axis[HOSTLIST_BASE][HOSTLIST_BASE][HOSTLIST_BASE];
 int axis_min_x, axis_min_y, axis_min_z;
 int axis_max_x, axis_max_y, axis_max_z;
-char *alpha_num = "0123456789ABCDEFGHIJKLMNOPQRSTUZWXYZ";
 
 static int _get_boxes(char *buf, int max_len);
 static void _clear_grid(void);
diff --git a/src/common/hostlist.h b/src/common/hostlist.h
index 45a71215c25..55d52315723 100644
--- a/src/common/hostlist.h
+++ b/src/common/hostlist.h
@@ -45,11 +45,12 @@
 
 #ifdef HAVE_BG
 #define HOSTLIST_BASE 36
-extern char *alpha_num;
 #else
 #define HOSTLIST_BASE 10
 #endif
 
+extern char *alpha_num;
+
 /* Notes:
  *
  * If WITH_LSD_FATAL_ERROR_FUNC is defined, the linker will expect to
-- 
GitLab