From: Alan T. DeKok Date: Wed, 19 Aug 2015 10:58:33 +0000 (-0400) Subject: Almost there X-Git-Tag: release_3_0_10~213 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db7de29d7c715098d9f048a3f989d1cc52c5cdea;p=thirdparty%2Ffreeradius-server.git Almost there --- diff --git a/src/tests/map/map_unit.c b/src/tests/map/map_unit.c index eb01f9b7d81..c9bd4d16358 100644 --- a/src/tests/map/map_unit.c +++ b/src/tests/map/map_unit.c @@ -43,6 +43,18 @@ extern log_lvl_t rad_debug_lvl; /* Linker hacks */ +#ifdef HAVE_PTHREAD_H +pid_t rad_fork(void) +{ + return fork(); +} + +pid_t rad_waitpid(pid_t pid, int *status) +{ + return waitpid(pid, status, 0); +} +#endif + rlm_rcode_t indexed_modcall(UNUSED rlm_components_t comp, UNUSED int idx, UNUSED REQUEST *request) { return RLM_MODULE_OK;