projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3350e90
)
Almost there
author
Alan T. DeKok
<aland@freeradius.org>
Wed, 19 Aug 2015 10:58:33 +0000
(06:58 -0400)
committer
Alan T. DeKok
<aland@freeradius.org>
Wed, 19 Aug 2015 10:58:33 +0000
(06:58 -0400)
src/tests/map/map_unit.c
patch
|
blob
|
history
diff --git
a/src/tests/map/map_unit.c
b/src/tests/map/map_unit.c
index
eb01f9b
..
c9bd4d1
100644
(file)
--- 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;