After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 337027 - gbookmarkfile.c: sys/time.h include error
gbookmarkfile.c: sys/time.h include error
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: win32
2.10.x
Other All
: Normal normal
: ---
Assigned To: gtk-win32 maintainers
gtk-win32 maintainers
Depends on:
Blocks:
 
 
Reported: 2006-04-03 13:18 UTC by Kazuki Iwamoto
Modified: 2006-04-03 18:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kazuki Iwamoto 2006-04-03 13:18:35 UTC
Please describe the problem:
sys/time.h is included unconditionally.
"#include <sys/time.h>" should be surrounded by "#ifdef HAVE_SYS_TIME_H" and
"#endif".

Steps to reproduce:
1. compile by Visual C++

Actual results:
following message is displayed.
gbookmarkfile.c(34) : fatal error C1083: Cannot open include file: 'sys/time.h':
No such file or directory

Expected results:
"#include <sys/time.h>" should be surrounded by "#ifdef HAVE_SYS_TIME_H" and
"#endif".

Does this happen every time?


Other information:
Comment 1 Matthias Clasen 2006-04-03 17:18:12 UTC
I think the sys/time.h include is just superfluous.
Commenting it out does not cause any warnings here.
Comment 2 Matthias Clasen 2006-04-03 18:00:45 UTC
2006-04-03  Matthias Clasen  <mclasen@redhat.com>

	* glib/gbookmarkfile.c: Don't include sys/time.h  (#337027,
	 Kazuki IWAMOTO)