Skip to content

Commit

Permalink
txt_fileselect.c: add missing ctype.h include
Browse files Browse the repository at this point in the history
On FreeBSD this include is not pulled in implicitly so the build fails with
`error: implicitly declaring library function 'isalpha' with type 'int (int)' [-Werror,-Wimplicit-function-declaration]`
for me.
  • Loading branch information
arichardson committed Jun 18, 2022
1 parent 6e2d5f9 commit 6a03c4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions textscreen/txt_fileselect.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
// Routines for selecting files.
//

#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Expand Down

0 comments on commit 6a03c4f

Please sign in to comment.