Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/net/lib/libshmif Include necessary headers on Linux



details:   https://anonhg.NetBSD.org/src/rev/6e00855aed68
branches:  trunk
changeset: 786688:6e00855aed68
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue May 07 16:18:48 2013 +0000

description:
Include necessary headers on Linux

diffstat:

 sys/rump/net/lib/libshmif/rumpcomp_user.c |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 6b3cf5ce2f02 -r 6e00855aed68 sys/rump/net/lib/libshmif/rumpcomp_user.c
--- a/sys/rump/net/lib/libshmif/rumpcomp_user.c Tue May 07 15:49:09 2013 +0000
+++ b/sys/rump/net/lib/libshmif/rumpcomp_user.c Tue May 07 16:18:48 2013 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: rumpcomp_user.c,v 1.10 2013/04/30 12:39:21 pooka Exp $        */
+/*      $NetBSD: rumpcomp_user.c,v 1.11 2013/05/07 16:18:48 pooka Exp $        */
 
 /*-
  * Copyright (c) 2009, 2010 Antti Kantee.  All Rights Reserved.
@@ -97,6 +97,10 @@
 #elif defined(__linux__)
 #include <sys/inotify.h>
 
+#include <limits.h>
+#include <stdio.h>
+#include <unistd.h>
+
 int
 rumpcomp_shmif_watchsetup(int *inotifyp, int fd)
 {



Home | Main Index | Thread Index | Old Index