{"thread":{"id":"3795","subject":"[PATCH] On some platforms, certain headers need to be included before regex.h","startedAt":"2006-04-04T23:01:03Z","lastAt":"2006-04-04T23:01:03Z","messageCount":1,"participants":["Johannes Schindelin"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"18361","messageId":"Pine.LNX.4.63.0604050059580.19712@wbgn013.biozentrum.uni-wuerzburg.de","threadId":"3795","inReplyTo":null,"subject":"[PATCH] On some platforms, certain headers need to be included before regex.h","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2006-04-04T23:01:03Z","receivedAt":"2006-04-04T23:01:03Z","isPatch":true,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"\nHappily, these are already included in cache.h, which is included anyway...\nso: change the order of includes.\n\nSigned-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>\n\n---\n\n diffcore-pickaxe.c |    4 ++--\n 1 files changed, 2 insertions(+), 2 deletions(-)\n\n0dcea02390ab0a15e2dbb62b4b876046fe0b4e79\ndiff --git a/diffcore-pickaxe.c b/diffcore-pickaxe.c\nindex d89f314..cfcce31 100644\n--- a/diffcore-pickaxe.c\n+++ b/diffcore-pickaxe.c\n@@ -1,11 +1,11 @@\n /*\n  * Copyright (C) 2005 Junio C Hamano\n  */\n-#include <regex.h>\n-\n #include \"cache.h\"\n #include \"diff.h\"\n #include \"diffcore.h\"\n+\n+#include <regex.h>\n \n static unsigned int contains(struct diff_filespec *one,\n \t\t\t     const char *needle, unsigned long len,\n-- \n1.3.0.rc2.g7eaca-dirty\n"}]}