These 2 patches make the events system buildable alone so that we can
depend on it in ldb.

If there are no objections I will commit these patches in the weekend
(pass all make test tests).

--
Simo Sorce
Samba Team GPL Compliance Officer
Senior Software Engineer at Red Hat Inc.