Changeset 2606

Show
Ignore:
Timestamp:
09/03/07 09:38:46 (1 year ago)
Author:
ensc
Message:

fixed declaration of 'struct stat'

include <sys/stat.h> instead of declaring it with 'struct stat'
as it might cause conflicts when 'stat' is #defined as stat64
in this header

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib_internal/util-safechdir.h

    r934 r2606  
    2020#define H_UTIL_VSERVER_LIB_INTERNAL_UTIL_SAFECHDIR_H 
    2121 
    22 struct stat; 
     22#include <sys/stat.h> 
     23 
    2324int     safeChdir(char const *, struct stat const *exp_stat) NONNULL((1,2)); 
    2425