add: dfu-programmer (#953)

* add: dfu-programmer

* autoreconf

Signed-off-by: madomado <madonuko@outlook.com>

* Update dfu-programmer.spec

Signed-off-by: madomado <madonuko@outlook.com>

* Update dfu-programmer.spec

Signed-off-by: madomado <madonuko@outlook.com>

---------

Signed-off-by: madomado <madonuko@outlook.com>
This commit is contained in:
madomado
2024-02-20 05:39:31 +08:00
committed by GitHub
parent 9f96bc3368
commit dcbd9aa9b4
4 changed files with 59 additions and 0 deletions
@@ -0,0 +1,16 @@
Include <stdlib.h> for the malloc function.
Submitted upstream: <https://github.com/dfu-programmer/dfu-programmer/pull/76>
diff --git a/src/atmel.c b/src/atmel.c
index 4ea794d17f65d8d0..491bbb16706e65a8 100644
--- a/src/atmel.c
+++ b/src/atmel.c
@@ -19,6 +19,7 @@
*/
#include <stdio.h>
+#include <stdlib.h>
#include <stdarg.h>
#include <stdint.h>
#include <string.h>