This commit is contained in:
pooka 2008-12-18 00:21:52 +00:00
parent df8e80be1a
commit 08c8c2d4d4
3 changed files with 18 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: rumpuser.c,v 1.22 2008/11/18 12:39:35 pooka Exp $ */
/* $NetBSD: rumpuser.c,v 1.23 2008/12/18 00:21:52 pooka Exp $ */
/*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@ -30,6 +30,11 @@
#define malloc(a) __real_malloc(a)
#include <sys/cdefs.h>
#if !defined(lint)
__RCSID("$NetBSD: rumpuser.c,v 1.23 2008/12/18 00:21:52 pooka Exp $");
#endif /* !lint */
/* thank the maker for this */
#ifdef __linux__
#define _XOPEN_SOURCE 500

View File

@ -1,4 +1,4 @@
/* $NetBSD: rumpuser_net.c,v 1.4 2008/11/25 20:39:57 pooka Exp $ */
/* $NetBSD: rumpuser_net.c,v 1.5 2008/12/18 00:21:52 pooka Exp $ */
/*
* Copyright (c) 2008 Antti Kantee. All Rights Reserved.
@ -25,6 +25,11 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#if !defined(lint)
__RCSID("$NetBSD: rumpuser_net.c,v 1.5 2008/12/18 00:21:52 pooka Exp $");
#endif /* !lint */
#include <sys/types.h>
#include <sys/socket.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: rumpuser_pth.c,v 1.20 2008/12/17 20:16:28 pooka Exp $ */
/* $NetBSD: rumpuser_pth.c,v 1.21 2008/12/18 00:21:52 pooka Exp $ */
/*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@ -28,6 +28,11 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#if !defined(lint)
__RCSID("$NetBSD: rumpuser_pth.c,v 1.21 2008/12/18 00:21:52 pooka Exp $");
#endif /* !lint */
#ifdef __linux__
#define _XOPEN_SOURCE 500
#define _BSD_SOURCE