mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Guard ptrdiff_t.
This commit is contained in:
parent
f7e2bd0458
commit
d9259fbcc0
1 changed files with 3 additions and 0 deletions
|
|
@ -33,7 +33,10 @@
|
|||
#include <sys/_null.h>
|
||||
#include <machine/_types.h>
|
||||
|
||||
#ifndef _PTRDIFF_T_DECLARED
|
||||
typedef __ptrdiff_t ptrdiff_t;
|
||||
#define _PTRDIFF_T_DECLARED
|
||||
#endif
|
||||
|
||||
#define offsetof(type, field) __offsetof(type, field)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue