Date: Mon, 24 Oct 2016 17:57:46 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r307871 - head/lib/libnetbsd Message-ID: <201610241757.u9OHvk1t040586@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marcel Date: Mon Oct 24 17:57:46 2016 New Revision: 307871 URL: https://svnweb.freebsd.org/changeset/base/307871 Log: Include "util.h", not <util.h>. The header is in the same directory as the C file. There may be a <util.h> on the host when compiling on macOS or Linux, causing conflicts. Modified: head/lib/libnetbsd/util.c Modified: head/lib/libnetbsd/util.c ============================================================================== --- head/lib/libnetbsd/util.c Mon Oct 24 17:56:08 2016 (r307870) +++ head/lib/libnetbsd/util.c Mon Oct 24 17:57:46 2016 (r307871) @@ -36,7 +36,8 @@ #include <stdlib.h> #include <string.h> #include <unistd.h> -#include <util.h> + +#include "util.h" char * flags_to_string(u_long flags, const char *def)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610241757.u9OHvk1t040586>