blob: 822b8dd8167ac8aba047a1441abe1f7591485850 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
From 27db38e20d2f1c685c9a4aa01cfbde96b0555d80 Mon Sep 17 00:00:00 2001
From: Harri Nieminen <moikkis@gmail.com>
Date: Tue, 27 Mar 2018 19:45:19 +0300
Subject: [PATCH] Don't include bits/nan.h
---
src/cement.c | 1 -
src/cementinit.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/src/cement.c b/src/cement.c
index 3dfb6f9..23c424c 100644
--- a/src/cement.c
+++ b/src/cement.c
@@ -1,7 +1,6 @@
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
-#include <bits/nan.h>
#include <limits.h>
#include <string.h>
#include <errno.h>
diff --git a/src/cementinit.c b/src/cementinit.c
index 95850d9..afa160e 100644
--- a/src/cementinit.c
+++ b/src/cementinit.c
@@ -1,5 +1,4 @@
#include <math.h>
-#include <bits/nan.h>
/* NB: supposedly nan.h is included from math.h when -std=c99 is on the
* gcc compile line but that doesn't work so its included it directly.
* Not having this line makes nan become unreliable, sometime it is
--
2.16.3
|