]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 3584: Detection of setresuid() is broken
authorOle Christensen <olechristensende@aol.de>
Thu, 2 Aug 2012 11:37:05 +0000 (05:37 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 2 Aug 2012 11:37:05 +0000 (05:37 -0600)
configure.ac

index 56e9f3ef793b52ff14678ccf3ce4bd29acdf6bad..8447daa218a7d63ddbc6ae8a29ce03a471c88759 100644 (file)
@@ -3199,6 +3199,8 @@ dnl
 AC_CACHE_CHECK(if setresuid is implemented, ac_cv_func_setresuid,
   AC_RUN_IFELSE([AC_LANG_SOURCE([[
 #include <stdlib.h>
+#include <stdio.h>
+#include <unistd.h>
   int main(int argc, char **argv) {
     if(setresuid(-1,-1,-1)) {
       perror("setresuid:");