From 20516bce68b205b218a8fedf384936b22d1f096c Mon Sep 17 00:00:00 2001
From: Lev Kujawski <int21h@mailbox.org>
Date: Wed, 6 Jan 2021 12:15:22 -0700
Subject: [PATCH 04/14] 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 9f99cc3d..52394bda 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.
-- 
2.30.0

