--- /dev/null
+--- ser-0.8.14.orig/locking.h 2004-07-27 01:18:35.000000000 +0200
++++ ser-0.8.14/locking.h 2004-12-26 15:39:03.000000000 +0100
+@@ -67,6 +67,8 @@
+ #define _locking_h
+
+ /* the order is important */
++#include <errno.h>
++#include "dprint.h"
+ #include "lock_ops.h"
+ #include "lock_alloc.h"
+