Changeset 3719

Show
Ignore:
Timestamp:
2008-09-16 02:51:58 (2 months ago)
Author:
conrad
Message:

Apply patch from dryeo, "off_t not always in stdio.h"
Closes ticket:413

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • liboggz/trunk/configure.ac

    r3672 r3719  
    2929# Checks for header files. 
    3030AC_HEADER_STDC 
    31 AC_CHECK_HEADERS([fcntl.h inttypes.h stdlib.h string.h unistd.h]) 
     31AC_CHECK_HEADERS([fcntl.h inttypes.h stdlib.h string.h sys/types.h unistd.h]) 
    3232 
    3333# Checks for typedefs, structures, and compiler characteristics. 
  • liboggz/trunk/src/tools/oggz-chop/header.c

    r3677 r3719  
    11#include "config.h" 
    22 
     3#ifdef HAVE_SYS_TYPES_H 
     4#include <sys/types.h> /* For off_t not found in stdio.h */ 
     5#endif 
    36#include <stdio.h> 
    47#include <stdlib.h>