Red Hat Bugzilla – Bug 25935
tcsh needs header fix for compiling against current glibc cvs
Last modified: 2007-04-18 12:31:08 EDT
like pam and vixie-cron, tcsh needs a header fix to compile against the
glibc cvs. I don't know if this is the cleanest approach but I found this
--- tcsh-6.10.00/sh.h Sat Feb 3 18:32:15 2001
+++ tcsh-6.10.00.new/sh.h Sat Feb 3 18:45:02 2001
@@ -210,7 +210,7 @@
# include <sys/procstats.h>
#endif /* _SEQUENT_ */
#if (defined(POSIX) || SYSVREL > 0) && !defined(WINNT_NATIVE)
-# include <sys/times.h>
+# include <time.h>
#endif /* (POSIX || SYSVREL > 0) && !WINNT_NATIVE */
We (Red Hat) should really try hard to fix this before next release.
I'm testing his patch now...
Patch looks good. I've committed.
Thanks for the patch.