Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/epan packet.c

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 16 Nov 2002 15:36:40 -0600 (CST)
guy         2002/11/16 15:36:39 CST

  Modified files:
    epan                 packet.c 
  Log:
  At least in my compile environment, we don't need "inet_v6defs.h" to
  compile "epan/packet.c", and including it without including <winsock2.h>
  before it means that, as <winsock2.h> appears to get included after we
  include "inet_v6defs.h", we get complaints about a redefinition of
  AF_INET6; removing the include of "inet_v6defs.h" sqelches that warning.
  
  If we *do* need "inet_v6defs.h" on some platforms, put it back, but put
  in an include of <winsock2.h> before it, to keep the warning away - if
  we ever use AF_INET6 in "epan/packet.c", we want to use the one from
  <winsock2.h> if it defines it, as that's what the rest of Ethereal uses.
  
  Revision  Changes    Path
  1.83      +1 -5      ethereal/epan/packet.c