diff --git a/fat-setup.h b/fat-setup.h
index 10177390cf02aae85decd82da56cf1faeb261b99..279b6e958873e7f6e031f614caf05cab937bc958 100644
--- a/fat-setup.h
+++ b/fat-setup.h
@@ -162,6 +162,7 @@ typedef void aes_crypt_internal_func (unsigned rounds, const uint32_t *keys,
 				      size_t length, uint8_t *dst,
 				      const uint8_t *src);
 
+struct gcm_key;
 typedef void gcm_init_key_func (union nettle_block16 *table);
 
 typedef void gcm_hash_func (const struct gcm_key *key, union nettle_block16 *x,