diff --git a/Makefile b/Makefile
index 812f29e..c2f547b 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ TARGET   ?= ddraw.dll
 
 LDFLAGS  ?= -Wl,--enable-stdcall-fixup -s -static -shared
 CFLAGS   ?= -Iinc -O2 -Wall -std=c99
-LIBS      = -lgdi32 -lwinmm -lole32 -lmsimg32 -lavifil32
+LIBS      = -lgdi32 -lwinmm -lole32 -lmsimg32 -lavifil32 -luuid
 
 COMMIT   := $(shell git describe --match=NeVeRmAtCh --always --dirty || echo UNKNOWN)
 BRANCH   := $(shell git rev-parse --abbrev-ref HEAD || echo UNKNOWN)