Changeset 252

Show
Ignore:
Timestamp:
04/03/2005 03:41:23 PM (3 years ago)
Author:
jan
Message:

fixed compile errors with gcc 2.95 and debian woody

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/configure.in

    r250 r252  
    357357AC_SYS_LARGEFILE 
    358358 
    359 CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits" 
     359if test x$ac_cv_sys_file_offset_bits \!= x; then 
     360  CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits" 
     361fi 
    360362 
    361363AC_CHECK_SIZEOF(long) 
     
    375377 
    376378if test "${GCC}" = "yes"; then 
    377        CFLAGS="${CFLAGS} -Wall -W -Wshadow -pedantic -Wno-unused-parameter -Wcast-align" 
     379       CFLAGS="${CFLAGS} -Wall -W -Wshadow -pedantic -Wcast-align" 
    378380fi 
    379381 
  • trunk/src/mod_compress.c

    r204 r252  
    99#include <errno.h> 
    1010#include <time.h> 
     11#include <stdio.h> 
    1112 
    1213#include "base.h"