Files
nixpkgs/pkgs/by-name/fr/freesweep/0001-include-strings.h.patch
sanana 96c99d0145 freesweep: 1.0.2 -> 1.0.2-unstable-2024-04-19
freesweep has a new version in development and it seems to be usable,
let's update to it. I included a few patches to allow it to build
with and without mlibc (which I'm working on in #371092).
2025-01-25 18:24:09 +03:00

16 lines
306 B
Diff

diff --git a/sweep.h b/sweep.h
index 198349d..549f39f 100644
--- a/sweep.h
+++ b/sweep.h
@@ -32,6 +32,10 @@
#include <string.h>
#endif /* HAVE_STRING_H */
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif /* HAVE_STRINGS_H */
+
#ifdef HAVE_GETOPT_H
#include <getopt.h>
#endif /* HAVE_GETOPT_H */