Changeset b2cb309


Ignore:
Timestamp:
2007-05-22 17:02:15 (7 years ago)
Author:
Dag Erling Smørgrav <des@…>
Branches:
2.0, 2.1, tags/varnish-2.0, tags/varnish-2.0-beta1, tags/varnish-2.0-beta1@3141, tags/varnish-2.0-beta2, tags/varnish-2.0-beta2@3221, tags/varnish-2.0-rc1, tags/varnish-2.0-rc1@3266, tags/varnish-2.0-tp1, tags/varnish-2.0-tp1@2734, tags/varnish-2.0-tp2, tags/varnish-2.0-tp2@2803, tags/varnish-2.0.1, tags/varnish-2.0.2, tags/varnish-2.0.3, tags/varnish-2.0.4, tags/varnish-2.0.5, tags/varnish-2.0.6, tags/varnish-2.1.0, tags/varnish-2.1.1, tags/varnish-2.1.2, tags/varnish-2.1.3, tags/varnish-2.1.4
Children:
24207c
Parents:
5e4fc5
git-author:
Dag Erling Smørgrav <des@…> (2007-05-22 17:02:15)
git-committer:
Dag Erling Smørgrav <des@…> (2007-05-22 17:02:15)
Message:

Fix compilation on OpenBSD 4.1.

git-svn-id:  http://www.varnish-cache.org/svn/trunk@1465 d4fa192b-c00b-0410-8231-f00ffab90ce4

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • bin/varnishd/storage_file.c

    r2a3712 rb2cb309  
    3838#include <sys/stat.h> 
    3939 
    40 #ifdef HAVE_SYS_STATVFS_H 
    41 #include <sys/statvfs.h> 
     40#ifdef HAVE_SYS_MOUNT_H 
     41#include <sys/mount.h> 
    4242#endif 
    4343 
     
    127127        AZ(fstat(sc->fd, &st)); 
    128128 
    129 #if defined(HAVE_SYS_STATVFS_H) || defined(HAVE_SYS_VFS_H) 
     129#if defined(HAVE_SYS_MOUNT_H) || defined(HAVE_SYS_VFS_H) 
    130130        struct statfs fsst; 
    131131        AZ(fstatfs(sc->fd, &fsst)); 
  • configure.ac

    r7af1a6 rb2cb309  
    5656AC_HEADER_TIME 
    5757AC_CHECK_HEADERS([sys/socket.h]) 
    58 AC_CHECK_HEADERS([sys/statvfs.h]) 
     58AC_CHECK_HEADERS([sys/mount.h]) 
    5959AC_CHECK_HEADERS([sys/vfs.h]) 
    6060AC_CHECK_HEADERS([netinet/in.h]) 
Note: See TracChangeset for help on using the changeset viewer.