I tried to compile this on GNU/Linux with 4.9 kernel and found it to be missing a bunch of includes. However, after adding them it does compile and seems to work fine.
Unsure the license of this project, but feel free to use the patch under any license you want.
If able to get a hold of original author, you might consider using a free license.
Subject: [PATCH 1/1] Fix missing includes
---
extract-adf.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/extract-adf.c b/extract-adf.c
index 23ff5e7..696efa3 100644
--- a/extract-adf.c
+++ b/extract-adf.c
@@ -12,8 +12,13 @@
// Comment out if zlib support is not available (support for adz will not work)
#define _HAVE_ZLIB
-#include <libc.h>
-#include <sys/_endian.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <fcntl.h>
+#include <unistd.h>
+#include <string.h>
+#include <pthread.h>
+#include <endian.h>
#include <sys/stat.h>
#include <errno.h>
#include <unistd.h>
--
2.11.0
I tried to compile this on GNU/Linux with 4.9 kernel and found it to be missing a bunch of includes. However, after adding them it does compile and seems to work fine.
Unsure the license of this project, but feel free to use the patch under any license you want.
If able to get a hold of original author, you might consider using a free license.