From fb82ab81eb402313b70536ab34f11df2a4bebf7e Mon Sep 17 00:00:00 2001 From: Todd Rinaldo Date: Thu, 28 Dec 2023 17:38:22 +0000 Subject: [PATCH] Fix patchlevel check for util.h Fixes #27 --- Tty.xs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tty.xs b/Tty.xs index aa638f4..5f94d98 100644 --- a/Tty.xs +++ b/Tty.xs @@ -60,7 +60,7 @@ typedef FILE * InOutStream; #ifdef HAVE_UTIL_H # ifdef UTIL_H_ABS_PATH # include UTIL_H_ABS_PATH -# elif ((PATCHLEVEL < 19) && (SUBVERSION < 4)) +# if ((PATCHLEVEL < 19) || ((PATCHLEVEL == 19) && (SUBVERSION < 4))) # include # endif #endif /* HAVE_UTIL_H */