Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal/wiretap file_wrappers.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Tue, 14 Mar 2000 12:27:50 -0600 (CST)
guy         2000/03/14 12:27:47 CST

  Modified files:
    wiretap              file_wrappers.c 
  Log:
  Sigh.  OpenBSD defines "HAVE_UNISTD_H" in the Makefile for zlib, so,
  unlike FreeBSD and older versions of NetBSD, which give "gzseek()" and
  "gztell()" signatures with "long" file-offset arguments, and thus, on
  some versions, requires that "HAVE_UNISTD_H" *not* be defined before
  including "zlib.h" if you want the functions declared with a signature
  that matches what's actually in the library, it requires that it *be*
  defined before including "zlib.h" if you want the functions declared
  with a signature that matches what's actually in the library.
  
  Revision  Changes    Path
  1.6       +28 -11    ethereal/wiretap/file_wrappers.c