Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-19
11:34 • Ticket [219028ffff] utime.h needs sys/types.h first on UTS status still Clos... artifact: e8b38f12b5 user: dgp
2000-10-26
08:34 • Closed ticket [219028ffff]. artifact: 4c80335158 user: welch
01:09 • New ticket [219028ffff]. artifact: bed0615a87 user: nobody

utime.h needs sys/types.h first on UTS

Closed / Fixed219028ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:09:37
OriginalBugID: 4031 Bug
Version: 8.3b2
SubmitDate: '2000-01-17'
LastModified: '2000-01-23'
Severity: MED
Status: Released
Submitter: techsupp
ChangedBy: hobbs
OS: Other
OSVersion: UTS SysV
Machine: Amdahl ??
FixedDate: '2000-01-23'
FixedInVersion: 8.3
ClosedDate: '2000-10-25'


Name:
John Ellson

CVS:
Jan 16, 00   02.00

ObservedBehavior:
compile error due to undefined time_t

DesiredBehavior:
no compile errors

Patch:
*** unix/tclUnixPort.h.origMon Jan 17 10:35:56 2000
--- unix/tclUnixPort.hMon Jan 17 10:36:44 2000
***************
*** 36,41 ****
--- 36,42 ----
   *---------------------------------------------------------------------------
   */
  
+ #include <sys/types.h>
  #include <utime.h>
  #include <errno.h>
  #include <fcntl.h>
***************
*** 47,53 ****
  #ifdef HAVE_SYS_PARAM_H
  #   include <sys/param.h>
  #endif
- #include <sys/types.h>
  #ifdef USE_DIRENT2_H
  #   include "../compat/dirent2.h"
  #else
--- 48,53 ----

PatchFiles:
unix/tclUnixPort.h



<utime.h> was instead moved lower, as it is the new include for 8.3.0. 
-- 01/23/2000 hobbs
welch Closed ticket [219028ffff]. [History diff]2000-10-26 08:34:04
dgp Ticket [219028ffff]: 3 changes [History diff]2001-04-19 11:34:41
Log in (anonymous is fine) to add a comment.