forked from mirrors/nixpkgs
05fedecad9
This reverts commit 480434f7ee
.
netbsd.compat does not provide include files that are provided by libbsd [1], and it
encumbers its transitive dependents with an obligatory include file that setups
BSD-compatible C environment [2].
[1] https://github.com/NixOS/nixpkgs/pull/41320#issuecomment-394922277
[2] https://github.com/NixOS/nixpkgs/pull/41320#issuecomment-394928845
27 lines
706 B
Diff
27 lines
706 B
Diff
From b20272f5a966333b49fdf2bda797e2a9f0227404 Mon Sep 17 00:00:00 2001
|
|
From: Guillem Jover <guillem@hadrons.org>
|
|
Date: Tue, 6 Mar 2018 01:42:52 +0100
|
|
Subject: Remove <features.h> inclusion from <bsd/libutil.h>
|
|
|
|
This is a non-portable header, and we should not assume it is present.
|
|
Let the first system header pull it in if needed.
|
|
---
|
|
include/bsd/libutil.h | 1 -
|
|
1 file changed, 1 deletion(-)
|
|
|
|
diff --git a/include/bsd/libutil.h b/include/bsd/libutil.h
|
|
index ccca29a..e5f148a 100644
|
|
--- a/include/bsd/libutil.h
|
|
+++ b/include/bsd/libutil.h
|
|
@@ -39,7 +39,6 @@
|
|
#ifndef LIBBSD_LIBUTIL_H
|
|
#define LIBBSD_LIBUTIL_H
|
|
|
|
-#include <features.h>
|
|
#ifdef LIBBSD_OVERLAY
|
|
#include <sys/cdefs.h>
|
|
#else
|
|
--
|
|
cgit v1.1
|
|
|