summaryrefslogtreecommitdiffstats
path: root/bin/csh
diff options
context:
space:
mode:
authormp <mp@FreeBSD.org>2005-05-04 20:21:57 +0000
committermp <mp@FreeBSD.org>2005-05-04 20:21:57 +0000
commitdc094aca6948e4c96ca8c1252c35a0bea21a9c6b (patch)
tree10e36f30264b1dc4dc5b5d64ff03dc7d90875947 /bin/csh
parent896129e0f9bb8c7304597c8d26b8e45f7dad821b (diff)
downloadFreeBSD-src-dc094aca6948e4c96ca8c1252c35a0bea21a9c6b.zip
FreeBSD-src-dc094aca6948e4c96ca8c1252c35a0bea21a9c6b.tar.gz
Define HAVE_STRUCT_UTMP_UT_HOST in order for the REMOTEHOST environment
variable to show up correctly. Note: This is really a bug with the stock tcsh configure.in script not including <sys/types.h> before <utmp.h>. But, since config.h is maintained separate from the contrib sources, this is the correct fix. Noticed by: ache
Diffstat (limited to 'bin/csh')
-rw-r--r--bin/csh/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/csh/config.h b/bin/csh/config.h
index 61757d9..6189e72 100644
--- a/bin/csh/config.h
+++ b/bin/csh/config.h
@@ -99,7 +99,7 @@
#define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
/* Define to 1 if `ut_host' is member of `struct utmp'. */
-/* #undef HAVE_STRUCT_UTMP_UT_HOST */
+#define HAVE_STRUCT_UTMP_UT_HOST 1
/* Define to 1 if `ut_tv' is member of `struct utmp'. */
/* #undef HAVE_STRUCT_UTMP_UT_TV */
OpenPOWER on IntegriCloud