mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 05:40:30 -04:00
20 lines
505 B
C++
20 lines
505 B
C++
--- sql/mysqld.cc.orig Sat Aug 6 03:39:41 2005
|
|
+++ sql/mysqld.cc Sun Aug 28 20:41:38 2005
|
|
@@ -121,7 +121,7 @@
|
|
#endif /* __WIN__ */
|
|
|
|
#ifdef HAVE_LIBWRAP
|
|
-#include <tcpd.h>
|
|
+#include "mytcpd.h"
|
|
#include <syslog.h>
|
|
#ifdef NEED_SYS_SYSLOG_H
|
|
#include <sys/syslog.h>
|
|
@@ -3177,7 +3177,7 @@
|
|
init_ssl();
|
|
|
|
#ifdef HAVE_LIBWRAP
|
|
- libwrapName= my_progname+dirname_length(my_progname);
|
|
+ libwrapName= (char *) my_progname+dirname_length(my_progname);
|
|
openlog(libwrapName, LOG_PID, LOG_AUTH);
|
|
#endif
|
|
|