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

Jani Nikula jani at nikula.org
Sun Apr 23 13:01:55 PDT 2017


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



More information about the notmuch mailing list