diff options
Diffstat (limited to 'res')
-rwxr-xr-x | res/Makefile | 2 | ||||
-rwxr-xr-x | res/res_parking.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/res/Makefile b/res/Makefile index b0967f828..e5f6d7c37 100755 --- a/res/Makefile +++ b/res/Makefile @@ -20,7 +20,7 @@ CFLAGS+=$(shell [ -f /usr/include/linux/zaptel.h ] && echo " -DZAPATA_MOH") # # Work around buggy RedHat 9.0 # -CFLAGS+=-DOPENSSL_NO_KRB5 +CFLAGS+=-DOPENSSL_NO_KRB5 -fPIC all: $(MODS) diff --git a/res/res_parking.c b/res/res_parking.c index dc13af024..4ffbc5166 100755 --- a/res/res_parking.c +++ b/res/res_parking.c @@ -443,7 +443,7 @@ std: for (x=0;x<AST_MAX_FDS;x++) { tv.tv_sec = ms / 1000; tv.tv_usec = (ms % 1000) * 1000; /* Wait for something to happen */ - select(max + 1, &rfds, NULL, &efds, (ms > -1) ? &tv : NULL); + ast_select(max + 1, &rfds, NULL, &efds, (ms > -1) ? &tv : NULL); pthread_testcancel(); } return NULL; /* Never reached */ |