summaryrefslogtreecommitdiff
path: root/get_rload.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-11 16:29:40 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-11 16:29:40 -0800
commitf15b8097a00299291263cfe64947942564ccc373 (patch)
treeff42338380d935285caf81337ac8607ce26a915b /get_rload.c
parentde7b5bb18da4e5a626794db292f8b41d30aa2232 (diff)
Use autoconf to check for <protocols/rwhod.h> instead of OS-specific ifdefs
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'get_rload.c')
-rw-r--r--get_rload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/get_rload.c b/get_rload.c
index fd0f326..64e4a3e 100644
--- a/get_rload.c
+++ b/get_rload.c
@@ -12,7 +12,7 @@
/* Not all OS supports get_rload
steal the STUB idea from get_load
*/
-#if defined(__CYGWIN__) || defined(_WIN32)
+#ifndef HAVE_PROTOCOLS_RWHOD_H
#define RLOADSTUB
#endif