From f7626da470318fd60eef2dc21181985016dcd72b Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Wed, 16 May 2018 13:24:55 +0200 Subject: [PATCH] Fix make distcheck on Mac OS CC src/libcollectdclient/libcollectdclient_la-network_parse.lo ../../src/libcollectdclient/network_parse.c:49:10: fatal error: 'stdendian.h' file not found ^~~~~~~~~~~~~ 1 error generated. Fixes #2608 --- Makefile.am | 3 ++- src/{ => libcollectdclient/collectd}/stdendian.h | 0 src/libcollectdclient/network_parse.c | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) rename src/{ => libcollectdclient/collectd}/stdendian.h (100%) diff --git a/Makefile.am b/Makefile.am index 1e2d35bf..2ef24427 100644 --- a/Makefile.am +++ b/Makefile.am @@ -489,7 +489,8 @@ libcollectdclient_la_SOURCES = \ src/libcollectdclient/network.c \ src/libcollectdclient/network_buffer.c \ src/libcollectdclient/network_parse.c \ - src/libcollectdclient/server.c + src/libcollectdclient/server.c \ + src/libcollectdclient/collectd/stdendian.h libcollectdclient_la_CPPFLAGS = \ $(AM_CPPFLAGS) \ -I$(srcdir)/src/libcollectdclient \ diff --git a/src/stdendian.h b/src/libcollectdclient/collectd/stdendian.h similarity index 100% rename from src/stdendian.h rename to src/libcollectdclient/collectd/stdendian.h diff --git a/src/libcollectdclient/network_parse.c b/src/libcollectdclient/network_parse.c index 9a90f8e0..aa753ce0 100644 --- a/src/libcollectdclient/network_parse.c +++ b/src/libcollectdclient/network_parse.c @@ -44,7 +44,7 @@ #elif HAVE_SYS_ENDIAN_H #include #else /* fallback */ -#include "stdendian.h" +#include "collectd/stdendian.h" #endif #if HAVE_GCRYPT_H -- 2.11.0