On Wed, Jun 15, 2016 at 06:30:39PM +0200, Ján Tomko wrote:
Invoke the script only once instead of once for every file.
---
build-aux/prohibit-duplicate-header.pl | 22 ++++++++++++++++++++++
cfg.mk | 29 +++++------------------------
2 files changed, 27 insertions(+), 24 deletions(-)
create mode 100644 build-aux/prohibit-duplicate-header.pl
I applied the following diff and the check didn't go off. The old one
worked.
diff --git i/src/libvirt.c w/src/libvirt.c
index a5e0e4148b4a..93757f120ca2 100644
--- i/src/libvirt.c
+++ w/src/libvirt.c
@@ -42,6 +42,7 @@
#ifdef WITH_CURL
# include <curl/curl.h>
+# include <sys/wait.h>
#endif
#include "virerror.h"
--
Haven't dug through that though.
Martin