From 5c801a07a038f934e04111dc9596718d6c664a38 Mon Sep 17 00:00:00 2001 From: Lev Kujawski Date: Wed, 6 Jan 2021 12:15:22 -0700 Subject: [PATCH] Hide FILE internals from the musl C library that conflict with the Desktop Korn Shell's SFIO. --- cde/programs/dtksh/ksh93/src/lib/libast/include/sfio.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cde/programs/dtksh/ksh93/src/lib/libast/include/sfio.h b/cde/programs/dtksh/ksh93/src/lib/libast/include/sfio.h index 9f99cc3dd..52394bda2 100644 --- a/cde/programs/dtksh/ksh93/src/lib/libast/include/sfio.h +++ b/cde/programs/dtksh/ksh93/src/lib/libast/include/sfio.h @@ -49,7 +49,10 @@ #if defined(__linux__) /* HACK On linux prevent inclusion of __FILE.h that contains a conflicting definition of __FILE that we define later */ +/* GLIBC */ # define ____FILE_defined 1 +/* MUSL */ +# define __DEFINED_FILE 1 #endif /* linux */ /* Public header file for the safe fast io package.