svn commit: r307871 - head/lib/libnetbsd

Marcel Moolenaar marcel at FreeBSD.org
Mon Oct 24 17:57:47 UTC 2016


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)


More information about the svn-src-all mailing list