--- src/rd.h.orig 2023-07-12 09:03:32 UTC +++ src/rd.h @@ -43,6 +43,12 @@ #ifndef _POSIX_C_SOURCE #define _POSIX_C_SOURCE 200809L /* for timespec on solaris */ #endif +#ifndef __XSI_VISIBLE +#define __XSI_VISIBLE 700 /* for gettimeofday() */ +#endif +#ifndef __BSD_VISIBLE +#define __BSD_VISIBLE 1 /* for alloca() */ +#endif #endif #include