foremost/foremost-1.5.6-fix_build.patch
2024-01-05 22:31:12 +01:00

14 lines
669 B
Diff

diff -Nru foremost-1.5.6.orig/main.h foremost-1.5.6/main.h
--- foremost-1.5.6.orig/main.h 2010-01-11 21:28:38.428203679 +0100
+++ foremost-1.5.6/main.h 2010-01-11 21:28:59.701204009 +0100
@@ -456,8 +456,7 @@
size_t table[UCHAR_MAX + 1], int case_sen,int searchtype);
unsigned char *bm_search_skipn(unsigned char *needle, size_t needle_len,unsigned char *haystack, size_t haystack_len,
size_t table[UCHAR_MAX + 1], int casesensitive,int searchtype, int start_pos) ;
-#endif /* __FOREMOST_H */
-
+
/* BUILTIN */
unsigned char* extract_file(f_state *s, u_int64_t c_offset,unsigned char *foundat, u_int64_t buflen, s_spec * needle, u_int64_t f_offset);