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

  • From: Jani Nikula <jani@xxxxxxxxxx>
  • To: notmuch@xxxxxxxxxxxxx
  • Date: Wed, 10 May 2017 22:42:10 +0300

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


Other related posts:

  • » [PATCH RESEND 2/4] compat: don't include compat.h from the feature test source - Jani Nikula