Changeset 4940:3c55a0fbd3f6 in roaraudio


Ignore:
Timestamp:
05/09/11 10:12:38 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

test for sys/stat.h and do not assume it as not present on some systems

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • configure

    r4938 r4940  
    13471347test_lib_defmake ROAR_HAVE_H_SYS_TIME    %            sys/time.h    c          -- sys/time.h 
    13481348test_lib_defmake ROAR_HAVE_H_SYS_IOCTL   %            sys/ioctl.h   c          -- sys/ioctl.h 
     1349test_lib_defmake ROAR_HAVE_H_SYS_STAT    %            sys/stat.h    c          -- sys/types.h sys/stat.h 
    13491350test_lib_defmake ROAR_HAVE_H_TIME        %            time.h        c          -- time.h 
    13501351test_lib_defmake ROAR_HAVE_H_FCNTL       %            fcntl.h       c          -- fcntl.h 
  • include/roaraudio.h

    r4783 r4940  
    7979#include <grp.h> 
    8080#include <pwd.h> 
     81#endif 
     82 
     83#ifdef ROAR_HAVE_H_SYS_STAT 
    8184#include <sys/stat.h> 
    8285#endif 
Note: See TracChangeset for help on using the changeset viewer.