sys/cdefs.h should come from rumpuser_port.h

Noticed by Justin Cormack while building against musl libc.
This commit is contained in:
pooka 2013-07-18 22:58:35 +00:00
parent 1d398a1789
commit a940e06527
2 changed files with 8 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: hijack.c,v 1.100 2012/10/16 12:56:10 pooka Exp $ */
/* $NetBSD: hijack.c,v 1.101 2013/07/18 22:58:35 pooka Exp $ */
/*-
* Copyright (c) 2011 Antti Kantee. All Rights Reserved.
@ -30,8 +30,9 @@
#include "rumpuser_port.h"
#include <sys/cdefs.h>
__RCSID("$NetBSD: hijack.c,v 1.100 2012/10/16 12:56:10 pooka Exp $");
#if !defined(lint)
__RCSID("$NetBSD: hijack.c,v 1.101 2013/07/18 22:58:35 pooka Exp $");
#endif
#include <sys/param.h>
#include <sys/types.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: hijackdlsym.c,v 1.3 2012/08/25 18:00:06 pooka Exp $ */
/* $NetBSD: hijackdlsym.c,v 1.4 2013/07/18 22:58:35 pooka Exp $ */
/*-
* Copyright (c) 2011 Antti Kantee. All Rights Reserved.
@ -27,8 +27,9 @@
#include "rumpuser_port.h"
#include <sys/cdefs.h>
__RCSID("$NetBSD: hijackdlsym.c,v 1.3 2012/08/25 18:00:06 pooka Exp $");
#if !defined(lint)
__RCSID("$NetBSD: hijackdlsym.c,v 1.4 2013/07/18 22:58:35 pooka Exp $");
#endif
#include <dlfcn.h>