summaryrefslogtreecommitdiffstats
path: root/libexec/lukemftpd
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2003-01-06 04:09:20 +0000
committerobrien <obrien@FreeBSD.org>2003-01-06 04:09:20 +0000
commit245822d35f4c6849061bb00aa4f66f4f8dd0818a (patch)
tree2d852d429d995e28c926ca7a21da4e99be980a14 /libexec/lukemftpd
parentc5fa1fb790dadb92e5f5ae8cfbc2646aa8813a06 (diff)
downloadFreeBSD-src-245822d35f4c6849061bb00aa4f66f4f8dd0818a.zip
FreeBSD-src-245822d35f4c6849061bb00aa4f66f4f8dd0818a.tar.gz
Need to prototype strsuftollx() to quiet a warning.
Diffstat (limited to 'libexec/lukemftpd')
-rw-r--r--libexec/lukemftpd/nbsd2fbsd.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libexec/lukemftpd/nbsd2fbsd.h b/libexec/lukemftpd/nbsd2fbsd.h
index ca26de7..95bdb70 100644
--- a/libexec/lukemftpd/nbsd2fbsd.h
+++ b/libexec/lukemftpd/nbsd2fbsd.h
@@ -9,3 +9,11 @@
#define LOGIN_NAME_MAX MAXLOGNAME /* <sys/param.h> */
#define _DIAGASSERT(x)
+
+#include <sys/_types.h>
+#ifndef _SIZE_T_DECLARED
+typedef __size_t size_t;
+#define _SIZE_T_DECLARED
+#endif
+long long strsuftollx(const char *, const char *,
+ long long, long long, char *, size_t);
OpenPOWER on IntegriCloud