control: Remove msgbuf.h from control-internal.h
msgbuf.h is not needed for any of the header definitions, and introduces
a dependency on _GNU_SOURCE, which in turn is required for the sizeof()
calculations in generated headers. Because of this, a libc that requires
_GNU_SOURCE for strnlen / memmem will cause a compile failure from
msgbuf.h
So, remove the include.
Change-Id: I8d80bf63fe143b55e5db257f887373f517c38504
Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
diff --git a/src/control-internal.h b/src/control-internal.h
index 00b05b7..55c8015 100644
--- a/src/control-internal.h
+++ b/src/control-internal.h
@@ -7,7 +7,6 @@
#include <libpldm/pldm.h>
#include <libpldm/utils.h>
#include <compiler.h>
-#include <msgbuf.h>
#ifndef PLDM_CONTROL_MAX_VERSION_TYPES
#define PLDM_CONTROL_MAX_VERSION_TYPES 6