diff -Nurd ffmpeg2theora-0.30.orig/src/theorautils.c ffmpeg2theora-0.30/src/theorautils.c
--- ffmpeg2theora-0.30.orig/src/theorautils.c	2016-01-09 23:35:56.000000000 -0500
+++ ffmpeg2theora-0.30/src/theorautils.c	2023-11-18 14:28:45.000000000 -0500
@@ -45,6 +45,7 @@
 #include <assert.h>
 #include <math.h>
 #include <limits.h>
+#include <inttypes.h>
 
 #ifdef WIN32
 #if !defined(fseeko)