mirror of
https://github.com/systemd/systemd.git
synced 2025-01-11 09:18:07 +03:00
[PATCH] fix offsetof() define in klibc.
This commit is contained in:
parent
1659326d72
commit
89c941084f
@ -19,6 +19,6 @@
|
||||
#endif
|
||||
|
||||
#undef offsetof
|
||||
#define offsetof(t,m) ((size_t)&((t *)0->m))
|
||||
#define offsetof(t,m) ((size_t)&((t *)0)->m)
|
||||
|
||||
#endif /* _STDDEF_H */
|
||||
|
Loading…
Reference in New Issue
Block a user