Module Name: othersrc
Committed By: lukem
Date: Sun May 5 11:34:21 UTC 2013
Modified Files:
othersrc/usr.bin/tnftp: tnftp.h
Log Message:
include <assert.h>, <locale.h> (if present.)
compat define for __dead
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 othersrc/usr.bin/tnftp/tnftp.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: othersrc/usr.bin/tnftp/tnftp.h
diff -u othersrc/usr.bin/tnftp/tnftp.h:1.33 othersrc/usr.bin/tnftp/tnftp.h:1.34
--- othersrc/usr.bin/tnftp/tnftp.h:1.33 Sat Nov 14 08:32:42 2009
+++ othersrc/usr.bin/tnftp/tnftp.h Sun May 5 11:34:21 2013
@@ -1,10 +1,11 @@
-/* $NetBSD: tnftp.h,v 1.33 2009/11/14 08:32:42 lukem Exp $ */
+/* $NetBSD: tnftp.h,v 1.34 2013/05/05 11:34:21 lukem Exp $ */
#define FTP_PRODUCT PACKAGE_NAME
#define FTP_VERSION PACKAGE_VERSION
#include "tnftp_config.h"
+#include <assert.h>
#include <stdio.h>
#include <ctype.h>
#include <errno.h>
@@ -93,6 +94,9 @@
#if defined(HAVE_LIMITS_H)
# include <limits.h>
#endif
+#if defined(HAVE_LOCALE_H)
+# include <locale.h>
+#endif
#if defined(HAVE_PWD_H)
# include <pwd.h>
#endif
@@ -493,3 +497,10 @@ int utimes(const char *, const struct ti
#define getaddrinfo Rgetaddrinfo
#define getipnodebyname Rgetipnodebyname
#endif /* defined(USE_SOCKS) */
+
+
+/*
+ * Compatibility for stuff in NetBSD <sys/cdefs.h>
+ */
+#undef __dead
+#define __dead