Commit 36e74362 authored by Niels Möller's avatar Niels Möller

Reverted apache workaround. It turned out it was not

sufficient to solve the problem, there remained undefined
references to the function ap_symbol.

Rev: src/sftp/ChangeLog:1.56
Rev: src/sftp/dc.h:1.6
parent ff6f0235
2004-11-13 Niels Mller <nisse@lysator.liu.se>
* dc.h: Reverted apache workaround. It turned out it was not
sufficient to solve the problem, there remained undefined
references to the function ap_symbol.
2004-11-10 Niels Mller <nisse@lysator.liu.se>
* dc.h: Added workaround for broken fnmatch.h installed by apache.
......
......@@ -35,13 +35,11 @@
#include <glob.h>
#ifdef HAVE_FNMATCH
/* This is an ugly workaround. On Solaris, some version of Apache
installs a file fnmatch.h, which includes ap_config.h, which
contains a declaration of gethostname which is incompatible with
unistd.h. */
# define gethostname gethostname_apache
/* NOTE: Some version of Apache installs a file fnmatch.h, which
includes ap_config.h, which contains a declaration of gethostname
which is incompatible with unistd.h. We don't even try working
around that. */
# include <fnmatch.h>
# undef gethostname
#endif
#include "sftp_bind.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment