[PATCH 2/4] compat: don't include compat.h from the feature test source

Subject: [PATCH 2/4] compat: don't include compat.h from the feature test source

Date: Sun, 23 Apr 2017 20:01:55 -0000

To: notmuch@notmuchmail.org

Cc:

From: Jani Nikula


The feature test code should test the build environment, and none of
the compat code should interfere with that. Don't include compat.h
from the feature test source. There should be no functional changes
here, but this is just the right thing to do.
---
 compat/have_timegm.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/compat/have_timegm.c b/compat/have_timegm.c
index b62b7937feab..483fc3b6685d 100644
--- a/compat/have_timegm.c
+++ b/compat/have_timegm.c
@@ -1,5 +1,4 @@
 #include <time.h>
-#include "compat.h"
 
 int main()
 {
-- 
2.11.0


Thread: