summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2018-03-22 16:47:56 +1030
committerAndrew Jeffery <andrew@aj.id.au>2018-04-04 07:56:22 +0000
commitcc0bd3c4a25b2359d77b36f9b60d3e5571282bc6 (patch)
treeed8cc75c77b3283331fb4e7fb24e525813b77cb1
parent738c1cd6ad7ffa74f7decc736fe56b2cc2319143 (diff)
downloadphosphor-mboxd-cc0bd3c4a25b2359d77b36f9b60d3e5571282bc6.zip
phosphor-mboxd-cc0bd3c4a25b2359d77b36f9b60d3e5571282bc6.tar.gz
mboxd_msg: Include mbox.h to avoid undefined symbol error
mboxd_msg.h uses the MBOX_REG_BYTES symbol, but forces its users to first include mbox.h. Include what we use to restore some sanity. Change-Id: Ia72de84e6ba8abc86044170a355a4d43f96a239e Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-rw-r--r--mboxd_msg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mboxd_msg.h b/mboxd_msg.h
index 94ac13a..124927c 100644
--- a/mboxd_msg.h
+++ b/mboxd_msg.h
@@ -5,6 +5,7 @@
#define MBOXD_MSG_H
#include "common.h"
+#include "mbox.h"
/* Estimate as to how long (milliseconds) it takes to access a MB from flash */
#define FLASH_ACCESS_MS_PER_MB 8000
OpenPOWER on IntegriCloud