diff options
author | jani@ua141d10.elisa.omakaista.fi <> | 2006-06-21 18:35:19 +0300 |
---|---|---|
committer | jani@ua141d10.elisa.omakaista.fi <> | 2006-06-21 18:35:19 +0300 |
commit | f57cf654f450cac2cc94b8f9aad8e50eb264cb5c (patch) | |
tree | 2a478f6b638a6848527d7372626ac8c07dc73177 /include/my_libwrap.h | |
parent | c22e7f2dfd568e9f1b98abe442587c96722d14e3 (diff) | |
download | mariadb-git-f57cf654f450cac2cc94b8f9aad8e50eb264cb5c.tar.gz |
Cleanup to patch for Bug#18246, "compilation error with tcp_wrapper"
Diffstat (limited to 'include/my_libwrap.h')
-rw-r--r-- | include/my_libwrap.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/my_libwrap.h b/include/my_libwrap.h index a5cc9879e4f..6437cbaed84 100644 --- a/include/my_libwrap.h +++ b/include/my_libwrap.h @@ -14,6 +14,15 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_LIBWRAP +#include <tcpd.h> +#include <syslog.h> +#ifdef NEED_SYS_SYSLOG_H +#include <sys/syslog.h> +#endif /* NEED_SYS_SYSLOG_H */ + extern void my_fromhost(struct request_info *req); extern int my_hosts_access(struct request_info *req); extern char *my_eval_client(struct request_info *req); + +#endif /* HAVE_LIBWRAP */ |