Import of pkgsrc-2014Q1

This commit is contained in:
2014-11-05 12:41:07 +01:00
parent 785076ae39
commit 9a8c06dafb
19365 changed files with 828089 additions and 278039 deletions
+15 -4
View File
@@ -1,24 +1,35 @@
/* $NetBSD: util.c,v 1.10 2011/06/18 22:39:46 bsiegert Exp $ */
/* $NetBSD: util.c,v 1.12 2013/10/14 23:19:09 joerg Exp $ */
/*
* Missing stuff from OS's
*
* $Id: util.c,v 1.10 2011/06/18 22:39:46 bsiegert Exp $
* $Id: util.c,v 1.12 2013/10/14 23:19:09 joerg Exp $
*/
/*
* Workaround for EasyMiNT 1.70 and 1.83.
* Also needed on Linux systems where sys/ucontext.h sometimes uses __unused
* as field name.
*/
#if defined(__MINT__) || defined(__linux__)
#include <signal.h>
#endif
#include "make.h"
#ifndef MAKE_NATIVE
static char rcsid[] = "$NetBSD: util.c,v 1.10 2011/06/18 22:39:46 bsiegert Exp $";
static char rcsid[] = "$NetBSD: util.c,v 1.12 2013/10/14 23:19:09 joerg Exp $";
#else
#ifndef lint
__RCSID("$NetBSD: util.c,v 1.10 2011/06/18 22:39:46 bsiegert Exp $");
__RCSID("$NetBSD: util.c,v 1.12 2013/10/14 23:19:09 joerg Exp $");
#endif
#endif
#include <errno.h>
#include <time.h>
/* workaround for EasyMiNT 1.70 and 1.83 */
#if !defined(__MINT__)
#include <signal.h>
#endif
#if !defined(HAVE_STRERROR)
extern int errno, sys_nerr;