Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/epan/ftypes ftype-time.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:32 -0600 (CST)
gram        2002/01/29 16:57:31 CST

  Modified files:
    epan/ftypes          ftype-time.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.13      +4 -3      ethereal/epan/ftypes/ftype-time.c