diff options
author | Amitay Isaacs <amitay@ozlabs.org> | 2018-05-24 15:50:09 +1000 |
---|---|---|
committer | Alistair Popple <alistair@popple.id.au> | 2018-05-24 21:19:34 +1000 |
commit | 517e99b38ce2ad70ef90b6c5974c97522d1a42ef (patch) | |
tree | 6b08542b01c73e814fec65b3e0638fa885b86663 /src/main.h | |
parent | 55d2081b94b380dd315b97f7167da7e65af887d5 (diff) | |
download | pdbg-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.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 }; |