Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal text2pcap.c

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

From: Gilbert Ramirez Jr. <gram@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 29 Jan 2002 16:57:30 -0600 (CST)
gram        2002/01/29 16:57:30 CST

  Modified files:
    .                    text2pcap.c 
  Log:
  Use:
  
  #ifndef _XOPEN_SOURCE
  #define _XOPEN_SOURCE 500
  #endif
  #define __USE_XOPEN
  #include <time.h>
  
  to get strptime() declared in time.h on various systems. I hope
  this helps more than it hurts.
  
  Revision  Changes    Path
  1.12      +12 -1     ethereal/text2pcap.c