Ethereal-dev: [Ethereal-dev] _SYS_TIME_H

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

From: Diwakar Shetty <diwakar@xxxxxxxxxxxxxx>
Date: Fri, 12 Oct 2001 09:15:46 +0530
Hi

In quite a few ".c" files I have found the code shown below
*********************************************
#ifndef _SYS_TIME_H
#include <sys/time.h>
#endif
*********************************************

I feel this should be
*********************************************
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
*********************************************

Because on Windows the original code gives problem...since it is
"#ifndef" and not "#ifdef"

Please let me know if I am wrong

diwakar



*********************************************************
Disclaimer

This message (including any attachments) contains 
confidential information intended for a specific 
individual and purpose, and is protected by law. 
If you are not the intended recipient, you should 
delete this message and are hereby notified that 
any disclosure, copying, or distribution of this
message, or the taking of any action based on it, 
is strictly prohibited.

*********************************************************
Visit us at http://www.mahindrabt.com