freebsd-ports/cad/PrusaSlicer/files/patch-bundled__deps_avrdude_avrdude_libavrdude.h
Teodor Sigaev ea2855f6a7
cad/PrusaSlicer: Update to 2.8.1
PR:		282145
2024-10-29 03:13:29 +08:00

11 lines
334 B
C

--- bundled_deps/avrdude/avrdude/libavrdude.h.orig 2024-09-18 13:39:04 UTC
+++ bundled_deps/avrdude/avrdude/libavrdude.h
@@ -950,6 +950,8 @@ int read_config_builtin();
// Header file for alloca()
#if defined(WIN32NATIVE)
# include <malloc.h>
+#elif defined __FreeBSD__
+# include <stdlib.h>
#else
# include <alloca.h>
#endif