summaryrefslogtreecommitdiff
path: root/src/thread-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread-utils.h')
-rw-r--r--src/thread-utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread-utils.h b/src/thread-utils.h
index 99228417f..0395b97d1 100644
--- a/src/thread-utils.h
+++ b/src/thread-utils.h
@@ -69,7 +69,7 @@ GIT_INLINE(int) gitrc_dec(git_refcnt *p)
# error GIT_THREADS but no git_lck implementation
#else
-typedef struct {} git_lck;
+typedef struct { int dummy; } git_lck;
# define GIT_MUTEX_INIT {}
# define gitlck_init(a) (void)0
# define gitlck_lock(a) (void)0