diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/includes/rc-misc.h | 2 | ||||
-rw-r--r-- | src/librc/librc.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/includes/rc-misc.h b/src/includes/rc-misc.h index 4ba0f839..1294ed28 100644 --- a/src/includes/rc-misc.h +++ b/src/includes/rc-misc.h @@ -43,6 +43,8 @@ #ifndef PREFIX # define PREFIX "" +#else +# define HAVE_PREFIX #endif #define RC_LEVEL_BOOT "boot" diff --git a/src/librc/librc.c b/src/librc/librc.c index 5525f2f3..d292e856 100644 --- a/src/librc/librc.c +++ b/src/librc/librc.c @@ -186,7 +186,7 @@ static bool file_regex (const char *file, const char *regex) const char *rc_sys (void) { -#ifdef PREFIX +#ifdef HAVE_PREFIX return (RC_SYS_PREFIX); #else |