commit 569e9b0bff6299ad5003698c1ca01e40da2ced14 from: Thomas Adam date: Tue Mar 22 17:58:26 2022 UTC portable: remove system headers included portably Remove direct included system headers which are included portably at ./configure time. commit - df9870925ecd180db6e278a974be5a130cec50c6 commit + 569e9b0bff6299ad5003698c1ca01e40da2ced14 blob - 5c820110e2837ee6a8cd741e88047a2a6b260bc7 blob + e6370b544e0cdee69cc9e7d4b3159879ebba563a --- lib/patch.c +++ lib/patch.c @@ -21,7 +21,6 @@ */ #include -#include #include #include #include @@ -33,7 +32,6 @@ #include #include #include -#include #include "got_error.h" #include "got_object.h" @@ -577,7 +575,7 @@ apply_patch(struct got_worktree *worktree, struct got_ * the lines but just schedule the removal. */ err = got_worktree_schedule_delete(worktree, &oldpaths, - 0, NULL, delete_cb, delete_arg, repo, 0, 0); + 0, NULL, patch_delete, pa, repo, 0, 0); goto done; }