Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

needs stdio.h added to linux_macros.h to compile #1

Open
tingox opened this issue Jun 3, 2024 · 0 comments
Open

needs stdio.h added to linux_macros.h to compile #1

tingox opened this issue Jun 3, 2024 · 0 comments

Comments

@tingox
Copy link

tingox commented Jun 3, 2024

I needed to add stdio.h to linux_macros.h to make compile succeed

$ git diff
diff --git a/serial_flash_programmer/linux_macros.h b/serial_flash_programmer/linux_macros.h
index 43b0555..bfd5903 100644
--- a/serial_flash_programmer/linux_macros.h
+++ b/serial_flash_programmer/linux_macros.h
@@ -12,6 +12,7 @@
 
 #include <sys/time.h>
 #include <wchar.h>
+#include <stdio.h>
 
 #define TRUE true
 #define FALSE false

this under Debian 12, x86_64

karu2003 pushed a commit that referenced this issue Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant