Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/librumpuser include stdint.h before rumpuser.h (on some ...
details: https://anonhg.NetBSD.org/src/rev/9cbc382794fa
branches: trunk
changeset: 786685:9cbc382794fa
user: pooka <pooka%NetBSD.org@localhost>
date: Tue May 07 15:18:35 2013 +0000
description:
include stdint.h before rumpuser.h (on some platforms it doesn't get
there automagically)
diffstat:
lib/librumpuser/rumpuser_bio.c | 3 ++-
lib/librumpuser/rumpuser_component.c | 6 ++++--
lib/librumpuser/rumpuser_daemonize.c | 5 +++--
3 files changed, 9 insertions(+), 5 deletions(-)
diffs (65 lines):
diff -r 4a0a1954c700 -r 9cbc382794fa lib/librumpuser/rumpuser_bio.c
--- a/lib/librumpuser/rumpuser_bio.c Tue May 07 14:55:36 2013 +0000
+++ b/lib/librumpuser/rumpuser_bio.c Tue May 07 15:18:35 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rumpuser_bio.c,v 1.5 2013/04/29 14:54:03 pooka Exp $ */
+/* $NetBSD: rumpuser_bio.c,v 1.6 2013/05/07 15:18:35 pooka Exp $ */
/*-
* Copyright (c) 2013 Antti Kantee. All Rights Reserved.
@@ -32,6 +32,7 @@
#include <assert.h>
#include <errno.h>
#include <pthread.h>
+#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
diff -r 4a0a1954c700 -r 9cbc382794fa lib/librumpuser/rumpuser_component.c
--- a/lib/librumpuser/rumpuser_component.c Tue May 07 14:55:36 2013 +0000
+++ b/lib/librumpuser/rumpuser_component.c Tue May 07 15:18:35 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rumpuser_component.c,v 1.5 2013/04/30 12:39:20 pooka Exp $ */
+/* $NetBSD: rumpuser_component.c,v 1.6 2013/05/07 15:18:35 pooka Exp $ */
/*
* Copyright (c) 2013 Antti Kantee. All Rights Reserved.
@@ -28,9 +28,11 @@
#include "rumpuser_port.h"
#if !defined(lint)
-__RCSID("$NetBSD: rumpuser_component.c,v 1.5 2013/04/30 12:39:20 pooka Exp $");
+__RCSID("$NetBSD: rumpuser_component.c,v 1.6 2013/05/07 15:18:35 pooka Exp $");
#endif /* !lint */
+#include <stdint.h>
+
/*
* These interfaces affect the shlib major/minor; they can be called from
* any program when applicable. The rest of the interfaces provided
diff -r 4a0a1954c700 -r 9cbc382794fa lib/librumpuser/rumpuser_daemonize.c
--- a/lib/librumpuser/rumpuser_daemonize.c Tue May 07 14:55:36 2013 +0000
+++ b/lib/librumpuser/rumpuser_daemonize.c Tue May 07 15:18:35 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rumpuser_daemonize.c,v 1.5 2013/04/30 12:39:20 pooka Exp $ */
+/* $NetBSD: rumpuser_daemonize.c,v 1.6 2013/05/07 15:18:35 pooka Exp $ */
/*
* Copyright (c) 2010 Antti Kantee. All Rights Reserved.
@@ -28,7 +28,7 @@
#include "rumpuser_port.h"
#if !defined(lint)
-__RCSID("$NetBSD: rumpuser_daemonize.c,v 1.5 2013/04/30 12:39:20 pooka Exp $");
+__RCSID("$NetBSD: rumpuser_daemonize.c,v 1.6 2013/05/07 15:18:35 pooka Exp $");
#endif /* !lint */
#include <sys/types.h>
@@ -36,6 +36,7 @@
#include <errno.h>
#include <fcntl.h>
+#include <stdint.h>
#include <stdio.h>
#include <unistd.h>
Home |
Main Index |
Thread Index |
Old Index