Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for GCC14 #104

Open
wants to merge 3 commits into
base: vita
Choose a base branch
from
Open

Fix for GCC14 #104

wants to merge 3 commits into from

Commits on Jun 28, 2024

  1. Update pipe.c

    GCC14 wants unistd.h included for the function "close" otherwise the compiler will give you an error:
    
    Implicit declaration of function 'close' is invalid in C99
    gordon0001 authored Jun 28, 2024
    Configuration menu
    Copy the full SHA
    b192396 View commit details
    Browse the repository at this point in the history
  2. Update socket.c

    GCC14 wants unistd.h included for the function "close" otherwise the compiler will give you an error:
    
    Implicit declaration of function 'close' is invalid in C99
    gordon0001 authored Jun 28, 2024
    Configuration menu
    Copy the full SHA
    2b89b61 View commit details
    Browse the repository at this point in the history
  3. 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 cast
    gordon0001 authored Jun 28, 2024
    Configuration menu
    Copy the full SHA
    d383d18 View commit details
    Browse the repository at this point in the history