summaryrefslogtreecommitdiffstats
path: root/src/main.h
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@ozlabs.org>2018-05-24 15:50:09 +1000
committerAlistair Popple <alistair@popple.id.au>2018-05-24 21:19:34 +1000
commit517e99b38ce2ad70ef90b6c5974c97522d1a42ef (patch)
tree6b08542b01c73e814fec65b3e0638fa885b86663 /src/main.h
parent55d2081b94b380dd315b97f7167da7e65af887d5 (diff)
downloadpdbg-517e99b38ce2ad70ef90b6c5974c97522d1a42ef.tar.gz
pdbg-517e99b38ce2ad70ef90b6c5974c97522d1a42ef.zip
main: Do not include libpdbg internal headers
There are few execptions: - src/thread.c, src/htm.c These require bitutils.h. The correct fix might be to include thread abstraction in libpdbg. - src/main.c This requires target.h. Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h
index e060553..b1366d9 100644
--- a/src/main.h
+++ b/src/main.h
@@ -13,9 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+
#include <inttypes.h>
+#include <stdbool.h>
-#include <target.h>
+#include <libpdbg.h>
enum backend { FSI, I2C, KERNEL, FAKE, HOST };
OpenPOWER on IntegriCloud