Skip to content

Commit

Permalink
fileno fix for musl
Browse files Browse the repository at this point in the history
  • Loading branch information
sulincix committed Jun 2, 2024
1 parent f5aeb9f commit 2bc011f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/cli/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ char* _(char* msg){
#include <stdio.h>
#include <unistd.h>


#if musl
extern int fileno(FILE *f);
#endif

int main(int argc, char** argv, char** envp){
#ifndef no_locale
setlocale(LC_ALL, "");
Expand Down

0 comments on commit 2bc011f

Please sign in to comment.