diff --git a/src/xpdev/wraptest.c b/src/xpdev/wraptest.c
index ec9a49545eb44348296ae0730246faede3b987e2..2e77761fe64c6a92b8319d345d8795c7638dbf42 100644
--- a/src/xpdev/wraptest.c
+++ b/src/xpdev/wraptest.c
@@ -12,6 +12,7 @@
 #include "filewrap.h"
 #include "sockwrap.h"
 #include "threadwrap.h"
+#include "xpbeep.h"
 
 #define LOCK_FNAME	"test.fil"
 #define LOCK_OFFSET	0