From b0dc4f60468de7f2d6c622eeb8eedb6b25f9bc6b Mon Sep 17 00:00:00 2001
From: Moe Jette <jette1@llnl.gov>
Date: Fri, 15 Nov 2002 17:44:20 +0000
Subject: [PATCH] Temporary patch for QSW to work.

---
 src/api/slurm.h | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/src/api/slurm.h b/src/api/slurm.h
index 267324411be..84e330ee127 100644
--- a/src/api/slurm.h
+++ b/src/api/slurm.h
@@ -28,6 +28,28 @@
 #ifndef _SLURM_H
 #define _SLURM_H
 
+/* FIXME: REMOVE ASAP */
+#if HAVE_CONFIG_H
+#  include <config.h>
+#  if HAVE_INTTYPES_H
+#    include <inttypes.h>
+#  else
+#    if HAVE_STDINT_H
+#      include <stdint.h>
+#    endif
+#  endif			/* HAVE_INTTYPES_H */
+#  ifdef HAVE_LIBELAN3
+#    include <src/common/qsw.h>
+#  endif
+#else				/* !HAVE_CONFIG_H */
+#  include <inttypes.h>
+#endif				/*  HAVE_CONFIG_H */
+
+#include <src/common/macros.h>
+#include <src/common/xassert.h>
+#include <src/common/slurm_protocol_common.h>
+
+
 #include <stdio.h>			/* for FILE definitions */
 #include <time.h>			/* for time_t definitions */
 
-- 
GitLab