]> git.zerfleddert.de Git - micropolis/commit
src/tk/tkconfig.h: Micropolis build fixes for recent macOS
authorRyan Schmidt <ryandesign@macports.org>
Wed, 18 May 2022 10:53:08 +0000 (05:53 -0500)
committerMichael Gernoth <michael@gernoth.net>
Sat, 4 Jun 2022 09:20:51 +0000 (11:20 +0200)
commit056053a6a9c5d780be96ae4865d01fed5700f90c
tree8c2f2c7c48bdf1628b2d1409b27798c6eb526ef8
parent5ec4544b058d7399f30b1736ff7079de9c173b93
src/tk/tkconfig.h: Micropolis build fixes for recent macOS

Fix:
tkoption.c:875:9: error: implicit declaration of function 'read' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    if (read(fileId, buffer, (int) statBuf.st_size) != statBuf.st_size) {
        ^
src/tk/tkconfig.h
Impressum, Datenschutz