4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-02 12:30:24 +08:00
Sebastian Huber 074b8a1292 Fix <sys/_types.h> issues with <stddef.h>
A commit from 2016 tried to address this GCC provided <stddef.h> issue

    #if (defined (__FreeBSD__) && (__FreeBSD__ >= 5)) \
      || defined(__DragonFly__) \
      || defined(__FreeBSD_kernel__)
    /* __size_t is a typedef on FreeBSD 5, must not trash it. */
    #elif defined (__VMS__)
    /* __size_t is also a typedef on VMS.  */
    #else
    #define __size_t
    #endif

with an include of <stddef.h> before <sys/_types.h> in <sys/types.h>.
Is is not robust enough.  Do the include of <stddef.h> in <sys/_types.h>
directly and request only the necessary types.

Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
2020-10-14 10:53:53 -04:00
..
2016-10-25 16:24:05 +02:00
2016-10-25 16:24:05 +02:00
2016-04-15 14:51:39 +02:00
2016-04-15 14:51:39 +02:00
2018-01-17 11:47:13 -06:00
2018-01-17 11:47:17 -06:00
2020-10-14 10:53:53 -04:00
2018-01-17 11:47:17 -06:00
2018-12-04 07:39:20 +01:00
2018-01-17 11:47:13 -06:00
2015-04-23 21:57:06 +02:00
2015-05-28 16:40:43 +02:00