GNOME Bugzilla – Bug 337027
gbookmarkfile.c: sys/time.h include error
Last modified: 2006-04-03 18:00:45 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:
I think the sys/time.h include is just superfluous. Commenting it out does not cause any warnings here.
2006-04-03 Matthias Clasen <mclasen@redhat.com> * glib/gbookmarkfile.c: Don't include sys/time.h (#337027, Kazuki IWAMOTO)