upload-archive.c and upload-pack.c use pollfd struct and POLLIN constant which are defined in poll.h. However, poll.h is not included. Signed-off-by: Sven Strickroth <email@xxxxxxxxxx> --- builtin/upload-archive.c | 1 + upload-pack.c | 1 + 2 files changed, 2 insertions(+) diff --git a/builtin/upload-archive.c b/builtin/upload-archive.c index b928beb..6226bbb 100644 --- a/builtin/upload-archive.c +++ b/builtin/upload-archive.c @@ -1,6 +1,7 @@ /* * Copyright (c) 2006 Franck Bui-Huu */ +#include "poll.h" #include "cache.h" #include "builtin.h" #include "archive.h" diff --git a/upload-pack.c b/upload-pack.c index bb08e2e..79f9f8f 100644 --- a/upload-pack.c +++ b/upload-pack.c @@ -1,3 +1,4 @@ +#include "poll.h" #include "cache.h" #include "refs.h" #include "pkt-line.h" -- Best regards, Sven Strickroth ClamAV, a GPL anti-virus toolkit http://www.clamav.net PGP key id F5A9D4C4 @ any key-server -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html