summaryrefslogtreecommitdiffhomepage
path: root/auto/func
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--auto/func3
1 files changed, 2 insertions, 1 deletions
diff --git a/auto/func b/auto/func
index fcbbe0183..3f12b7890 100644
--- a/auto/func
+++ b/auto/func
@@ -5,10 +5,11 @@ echo "checking for $ngx_func" >> $NGX_ERR
ngx_found=no
-func=`echo $ngx_func | sed -e 's/()$//' | tr '[a-z]' '[A-Z]'`
+func=`echo $ngx_func | sed -e 's/()$//' | tr '[a-z.]' '[A-Z_]'`
cat << END > $NGX_AUTOTEST.c
+#include <sys/types.h>
$NGX_UNISTD_H
$ngx_func_inc