Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/rpc.lockd this file uses the <sys/queue.h> macros s...



details:   https://anonhg.NetBSD.org/src/rev/2679f551787d
branches:  trunk
changeset: 824521:2679f551787d
user:      chs <chs%NetBSD.org@localhost>
date:      Thu Jun 08 03:25:03 2017 +0000

description:
this file uses the <sys/queue.h> macros so it should include
that header itself, rather than relying on getting it indirectly
by including some other header (which will soon be changed
to not do that anymore).

diffstat:

 usr.sbin/rpc.lockd/lockd_lock.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 29d31b6ee773 -r 2679f551787d usr.sbin/rpc.lockd/lockd_lock.c
--- a/usr.sbin/rpc.lockd/lockd_lock.c   Thu Jun 08 03:02:26 2017 +0000
+++ b/usr.sbin/rpc.lockd/lockd_lock.c   Thu Jun 08 03:25:03 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lockd_lock.c,v 1.33 2012/09/13 11:09:41 wiz Exp $      */
+/*     $NetBSD: lockd_lock.c,v 1.34 2017/06/08 03:25:03 chs Exp $      */
 
 /*
  * Copyright (c) 2000 Manuel Bouyer.
@@ -38,6 +38,7 @@
 #include <sys/socket.h>
 #include <sys/param.h>
 #include <sys/mount.h>
+#include <sys/queue.h>
 #include <sys/wait.h>
 #include <rpcsvc/sm_inter.h>
 #include <rpcsvc/nlm_prot.h>



Home | Main Index | Thread Index | Old Index