Commit 0da3cb1
Update dirent.c
GCC14 wants dirent.h included for the function "readdir", "opendir", "closedir" otherwise the compiler will give you the following errors::
1) implicit declaration of function 'opendir'
2) implicit declaration of function 'readdir'
3) implicit declaration of function 'closedir'
4) initialization of 'DIR *' {aka 'struct DIR_ *'} from 'int' makes pointer from integer without a cast
5) assignment to 'struct dirent *' from 'int' makes pointer from integer without a cast1 parent 4ac9bcd commit 0da3cb1
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments