Guard ptrdiff_t.

This commit is contained in:
David E. O'Brien 2011-05-05 02:35:25 +00:00
parent f7e2bd0458
commit d9259fbcc0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=221476

View File

@ -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)