[build] define rsize_t on FreeBSD

(unsure why lighttpd CI CMake build has rsize_t defined,
 but not autotools or SCons lighttpd CI builds)
personal/stbuehler/tests-path
Glenn Strauss 2021-09-09 03:34:55 -04:00
parent a3e9faa479
commit f9c817680d
1 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,10 @@
#endif
#include "first.h"
#ifdef __FreeBSD__
#ifndef _RSIZE_T_DEFINED /* expecting __EXT1_VISIBLE 1 and _RSIZE_T_DEFINED */
#define _RSIZE_T_DEFINED
typedef size_t rsize_t;
#endif
#include <errno.h>
#endif