summaryrefslogtreecommitdiff
path: root/support/htdigest.c
diff options
context:
space:
mode:
authorGreg Stein <gstein@apache.org>2000-11-26 04:47:43 +0000
committerGreg Stein <gstein@apache.org>2000-11-26 04:47:43 +0000
commitead2dae94c0560d822962a93a603b391b465f901 (patch)
treebf7a239c2632c1eb2ce60f1d7b29218aa39bb88d /support/htdigest.c
parent8b05144f9c008e25c53fa52b21ca6f19acdd9e03 (diff)
downloadhttpd-ead2dae94c0560d822962a93a603b391b465f901.tar.gz
*) Compensate for recent changes in the APR headers. Specifically, some
files need to specifically include stdio.h, or a particular apr_*.h header. *) Adjust callers of apr_create_process() to deal with the extra "const" *) Add "const" to args of ap_os_create_privileged_process() git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87080 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/htdigest.c')
-rw-r--r--support/htdigest.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/support/htdigest.c b/support/htdigest.c
index 73cb59199c..c7a179ae76 100644
--- a/support/htdigest.c
+++ b/support/htdigest.c
@@ -64,8 +64,15 @@
* by Alexei Kosut, based on htpasswd.c, by Rob McCool
*/
-#include "apr_lib.h"
+#include "apr.h"
+#include "apr_file_io.h"
#include "apr_md5.h"
+#include "apr_lib.h" /* for apr_getpass() */
+#include "apr_general.h"
+
+#if APR_HAVE_STDIO_H
+#include <stdio.h>
+#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>