diff --git a/silk/debug.c b/silk/debug.c
index eb0c36ef1f9a02992d33ca9dc6f399c2f29cf9d7..492282d0daa111154537e2cbd50e6c4d53548944 100644
--- a/silk/debug.c
+++ b/silk/debug.c
@@ -29,6 +29,8 @@ POSSIBILITY OF SUCH DAMAGE.
 #include "config.h"
 #endif
 
+typedef int _prevent_empty_translation_unit_warning;
+
 #include "debug.h"
 
 #if SILK_DEBUG || SILK_TIC_TOC