diff --git a/include/stddef.h b/include/stddef.h index 2c73a2e2d85..7898da251a6 100644 --- a/include/stddef.h +++ b/include/stddef.h @@ -38,7 +38,10 @@ #include #include +#ifndef _PTRDIFF_T_DECLARED typedef __ptrdiff_t ptrdiff_t; +#define _PTRDIFF_T_DECLARED +#endif #if __BSD_VISIBLE #ifndef _RUNE_T_DECLARED