summaryrefslogtreecommitdiff
path: root/ndb/src/common/util/strlcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'ndb/src/common/util/strlcpy.c')
-rw-r--r--ndb/src/common/util/strlcpy.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/ndb/src/common/util/strlcpy.c b/ndb/src/common/util/strlcpy.c
index 9a3048081ca..97cff177d48 100644
--- a/ndb/src/common/util/strlcpy.c
+++ b/ndb/src/common/util/strlcpy.c
@@ -31,20 +31,12 @@
* SUCH DAMAGE.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-#include <ndb_types.h>
+#include <ndb_global.h>
/* RCSID("$KTH: strlcpy.c,v 1.1 2000/08/16 01:23:48 lha Exp $"); */
#ifndef HAVE_STRLCPY
-#ifdef NDB_WIN32
-#include <string.h>
-#endif
-
size_t
strlcpy (char *dst, const char *src, size_t dst_sz)
{