nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1diff --git a/src/lpart.c b/src/lpart.c
2index 1234567..abcdefg 100644
3--- a/src/lpart.c
4+++ b/src/lpart.c
5@@ -485,7 +485,7 @@ dump_part(char *partition)
6 return 0;
7 }
8
9-main(int argc, char *argv[])
10+int main(int argc, char *argv[])
11 {
12 char *partition;
13 int ret;
14diff --git a/tools/decode_lmfl.c b/tools/decode_lmfl.c
15index 1234567..abcdefg 100644
16--- a/tools/decode_lmfl.c
17+++ b/tools/decode_lmfl.c
18@@ -33,6 +33,7 @@
19 #include <string.h>
20 #include <errno.h>
21 #include <sys/stat.h>
22+#include <ctype.h>
23
24 /* Globals */
25 FILE *ifile;