[Bug 258376] net/libnfs: including libnfs.h can cause compile error (missing struct timeval)
Date: Wed, 08 Sep 2021 21:17:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258376 John Hein <jcfyecrayz@liamekaens.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #227772| |maintainer-approval?(snoe92 Flags| |5@gmail.com) --- Comment #2 from John Hein <jcfyecrayz@liamekaens.com> --- Created attachment 227772 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=227772&action=edit [patch] include sys/time.h instead of time.h in libnfs.h Include sys/time.h instead of time.h in libnfs.h Can be submitted upstream. Better might be for libnfs to detect the right time.h to include based on a 'configure' test rather than hard-coding OS dependent ifdefs. -- You are receiving this mail because: You are the assignee for the bug.