1
0
mirror of https://github.com/git/git synced 2024-07-02 15:48:44 +00:00

git-compat-util.h: add missing semicolon after struct itimerval

This hasn't been a problem in practice as almost all systems have the
setitimer() API (or it is provided by git in the case of mingw). This code
wasn't used in any default circumstances, as the build system never sets
NO_STRUCT_ITIMERVAL - this breakage only occured if the user asked for it.

We repair this case so we can rely on it in the following commits.

Signed-off-by: Jonas 'Sortie' Termansen <sortie@maxsi.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Jonas 'Sortie' Termansen 2014-08-29 09:42:33 -07:00 committed by Junio C Hamano
parent 6c4ab27f23
commit 981ff520b7

View File

@ -191,7 +191,7 @@ extern int compat_mkdir_wo_trailing_slash(const char*, mode_t);
struct itimerval {
struct timeval it_interval;
struct timeval it_value;
}
};
#endif
#ifdef NO_SETITIMER