Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: dbda6c5a973a9836676d2d5ed54e02219c0d1461
Ticket: 3598300fffffffffffffffffffffffffffffffff
unix: tcl.h does not include sys/stat.h
User & Date: roflz on 2012-12-25 00:36:30
Changes

  1. icomment:
    here's the relevant header part in musl libc:
    http://git.musl-libc.org/cgit/musl/tree/include/sys/stat.h#n98
    
    i added -D_GNU_SOURCE to the CFLAGS when launching configure, so this part got visible.
    tcl.h takes the typedef struct stat64 Tcl_StatBuf route. however without seeing the macro in sys/stat.h this cannot succeed, because stat64 is only a macro.
    
    
  2. login: "roflz"
  3. mimetype: "text/plain"
  4. username: "roflz"