Skip to content

Commit

Permalink
Define HAVE_STRUCT_UTMP_UT_HOST in order for the REMOTEHOST environment
Browse files Browse the repository at this point in the history
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
  • Loading branch information
markpeek committed May 4, 2005
1 parent 896129e commit dc094ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/csh/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit dc094ac

Please sign in to comment.