Skip to content

Commit

Permalink
Merge pull request #272 from Wolf3s/update-makefile
Browse files Browse the repository at this point in the history
add stat support
  • Loading branch information
sahlberg authored Oct 31, 2023
2 parents 99125c9 + 246e404 commit c6014ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Makefile.PS2_EE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
EE_CFLAGS = -DPS2_EE_PLATFORM -DHAVE_STDINT_H -DHAVE_STRING_H \
-DHAVE_STDLIB_H -DHAVE_SYS_TYPES_H -DHAVE_UNISTD_H \
-DHAVE_STDLIB_H -DHAVE_SYS_TYPES_H -DHAVE_UNISTD_H -DHAVE_SYS_STAT_H \
-D_U_=/**/ -I../include -I../include/smb2

EE_LIB = libsmb2.a
Expand Down
1 change: 1 addition & 0 deletions lib/compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ long long int be64toh(long long int x);
#include <ps2ip.h>
#define write(a,b,c) lwip_write(a,b,c)
#define read(a,b,c) lwip_read(a,b,c)
#undef gethostbyname /* PS2SDK has gethostbyname defined */
#define gethostbyname(a) lwip_gethostbyname(a)
#define close(a) lwip_close(a)

Expand Down

0 comments on commit c6014ef

Please sign in to comment.