Date: Wed, 08 Sep 2021 21:17:06 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 258376] net/libnfs: including libnfs.h can cause compile error (missing struct timeval) Message-ID: <bug-258376-7788-hHg6f9Br15@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-258376-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-258376-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258376 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=3D227772&action= =3Dedit [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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258376-7788-hHg6f9Br15>