diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2024-10-06 14:31:51 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2024-10-06 14:31:51 +0200 |
| commit | ae080c3ad3a15f346b4182fdf2cf50947fde6355 (patch) | |
| tree | aee27634aaefb8455801d232f66164ad07c5fb73 /src/libtools/libc_net32.c | |
| parent | ad0c08c2de2dde9e60fd4537f3e4b53c89a468eb (diff) | |
| download | box64-ae080c3ad3a15f346b4182fdf2cf50947fde6355.tar.gz box64-ae080c3ad3a15f346b4182fdf2cf50947fde6355.zip | |
[BOX32] Forgot a few more x86 structure to properly align
Diffstat (limited to 'src/libtools/libc_net32.c')
| -rw-r--r-- | src/libtools/libc_net32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libtools/libc_net32.c b/src/libtools/libc_net32.c index 533104d2..73e660e6 100644 --- a/src/libtools/libc_net32.c +++ b/src/libtools/libc_net32.c @@ -160,7 +160,7 @@ struct i386_ifaddrs ptr_t ifa_netmask;// struct sockaddr * ptr_t ifa_ifu; // union of struct sockaddr ptr_t ifa_data; // void * -}; +} __attribute__((packed, aligned(4))); EXPORT int my32_getifaddrs(x64emu_t* emu, void** res) { @@ -197,7 +197,7 @@ struct protoent_32 ptr_t p_name; //char* ptr_t p_aliases;// char** int p_proto; -}; +} __attribute__((packed, aligned(4))); EXPORT void* my32_getprotobyname(x64emu_t* emu, void* name) { |