Skip to content

Commit

Permalink
Merge pull request #618 from Ziemas/samples
Browse files Browse the repository at this point in the history
Fix building samples on gcc14
  • Loading branch information
fjtrujy authored May 17, 2024
2 parents b32ea77 + 5e6e158 commit 28a844b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions ee/rpc/audsrv/samples/playadpcm/playadpcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
# audsrv adpcm sample
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include <kernel.h>
Expand Down
6 changes: 5 additions & 1 deletion ee/rpc/filexio/samples/main.c
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
#include <iopcontrol.h>
#include <stdint.h>
#include <kernel.h>
#include <loadfile.h>
#include <sbv_patches.h>
#include <stdio.h>
#include <sifrpc.h>
#include <string.h>

#define NEWLIB_PORT_AWARE
#include <fileXio_rpc.h>

int __iomanX_id = -1;
int __fileXio_id = -1;

Expand Down Expand Up @@ -69,4 +74,3 @@ int main(int argc, char *argv[])

return 0;
}

1 change: 1 addition & 0 deletions ee/rpc/multitap/samples/mtap_sample.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

// Based on pad sample by pukko, check the pad samples for more advanced features.

#include <malloc.h>
#include <tamtypes.h>
#include <kernel.h>
#include <sifrpc.h>
Expand Down
1 change: 1 addition & 0 deletions ee/rpc/padx/samples/padx.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include <malloc.h>
#include <tamtypes.h>
#include <kernel.h>
#include <loadfile.h>
Expand Down

0 comments on commit 28a844b

Please sign in to comment.