summaryrefslogtreecommitdiff
path: root/net/tnftp/files/tnftp.h
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-03-11 13:45:55 +0000
committergrant <grant@pkgsrc.org>2004-03-11 13:45:55 +0000
commitdec1371efa35593fca6d1700f62426d17453d9f8 (patch)
tree1f6bb08672fa4101131dc470471294007db7fedc /net/tnftp/files/tnftp.h
parent8dcc56addb16a69e2b44c73bed687d3b711142cc (diff)
downloadpkgsrc-dec1371efa35593fca6d1700f62426d17453d9f8.tar.gz
catch up with bootstrap-pkgsrc changes.
Add a utimes() stub for Interix. (this change also needs to go in othersrc/usr.bin/tnftp)
Diffstat (limited to 'net/tnftp/files/tnftp.h')
-rw-r--r--net/tnftp/files/tnftp.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/tnftp/files/tnftp.h b/net/tnftp/files/tnftp.h
index bb36e716102..162744a1ddf 100644
--- a/net/tnftp/files/tnftp.h
+++ b/net/tnftp/files/tnftp.h
@@ -1,4 +1,4 @@
-/* $Id: tnftp.h,v 1.1 2004/03/11 13:01:01 grant Exp $ */
+/* $Id: tnftp.h,v 1.2 2004/03/11 13:45:55 grant Exp $ */
#define FTP_PRODUCT "tnftp"
#define FTP_VERSION "20030825"
@@ -369,6 +369,10 @@ size_t strlcpy(char *, const char *, size_t);
char *strsep(char **stringp, const char *delim);
#endif
+#if ! HAVE_UTIMES
+int utimes(const char *, const struct timeval *);
+#endif
+
#if ! HAVE_MEMMOVE
# define memmove(a,b,c) bcopy((b),(a),(c))
/* XXX: add others #defines for borken systems? */