From: Tomohiro Kusumi <tkusumi@xxxxxxxxxx> lib/pattern.c not having dependency on fio.h enables it to be a stand-alone library, which is useful for debugging purpose. In fact, most of the files under lib/ directory do things this way. This requires the previous commit. -- # cat ./test6.c #include <stdio.h> #include "lib/pattern.h" int main(void) { /* just to see if it compiles */ paste_format_inplace(NULL, 0, NULL, 0, NULL); return 0; } # gcc -Wall -g ./test6.c ./lib/pattern.c ./lib/strntol.c Signed-off-by: Tomohiro Kusumi <tkusumi@xxxxxxxxxx> --- lib/pattern.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/pattern.c b/lib/pattern.c index b8ae809..0aeb935 100644 --- a/lib/pattern.c +++ b/lib/pattern.c @@ -1,6 +1,13 @@ -#include "fio.h" +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <limits.h> +#include <errno.h> +#include <assert.h> + #include "strntol.h" #include "pattern.h" +#include "../minmax.h" #include "../oslib/strcasestr.h" /** -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html