Source-Changes-HG archive

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

[src/trunk]: src/lib/librumpuser Don't go redefining system constants, withou...



details:   https://anonhg.NetBSD.org/src/rev/affbe8c71e7e
branches:  trunk
changeset: 820624:affbe8c71e7e
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Jan 12 18:23:04 2017 +0000

description:
Don't go redefining system constants, without checking if the system provides
them.

diffstat:

 lib/librumpuser/rumpuser_port.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 0a4836e1f249 -r affbe8c71e7e lib/librumpuser/rumpuser_port.h
--- a/lib/librumpuser/rumpuser_port.h   Thu Jan 12 18:19:31 2017 +0000
+++ b/lib/librumpuser/rumpuser_port.h   Thu Jan 12 18:23:04 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rumpuser_port.h,v 1.47 2015/11/07 16:21:42 nros Exp $  */
+/*     $NetBSD: rumpuser_port.h,v 1.48 2017/01/12 18:23:04 christos Exp $      */
 
 #ifndef _LIB_LIBRUMPUSER_RUMPUSER_PORT_H_
 #define _LIB_LIBRUMPUSER_RUMPUSER_PORT_H_
@@ -217,6 +217,8 @@
 #define __RCSID(a)
 #endif
 
+#include <poll.h>
+
 #ifndef INFTIM
 #define INFTIM (-1)
 #endif



Home | Main Index | Thread Index | Old Index