fix fetch_test build
diff --git a/regress/fetch/fetch_test.c b/regress/fetch/fetch_test.c
index 3235b8b..a43ae11 100644
--- a/regress/fetch/fetch_test.c
+++ b/regress/fetch/fetch_test.c
@@ -29,6 +29,7 @@
#include "got_error.h"
#include "got_object.h"
+#include "got_path.h"
#include "got_fetch.h"
#include "got_lib_object_idset.h"