| Index: ports/glibc-compat/include/sys/types.h
|
| diff --git a/ports/glibc-compat/include/sys/types.h b/ports/glibc-compat/include/sys/types.h
|
| index 8835c4d1765e91f200f881349eaf1a7b9479a312..6d2f06311c04201d464100352edd0d163603c1b8 100644
|
| --- a/ports/glibc-compat/include/sys/types.h
|
| +++ b/ports/glibc-compat/include/sys/types.h
|
| @@ -23,6 +23,10 @@ typedef int32_t _ssize_t;
|
| #include <limits.h>
|
| #define SSIZE_MAX LONG_MAX
|
|
|
| +#ifndef MAXHOSTNAMELEN
|
| +#define MAXHOSTNAMELEN 64
|
| +#endif
|
| +
|
| #include_next <sys/types.h>
|
|
|
| /* TODO(sbc): Remove these once they get added to newlib headers */
|
|
|