diff -pruN 0.18.0-2/debian/changelog 0.18.0-2ubuntu1/debian/changelog
--- 0.18.0-2/debian/changelog	2010-07-04 19:35:41.000000000 +0100
+++ 0.18.0-2ubuntu1/debian/changelog	2010-07-04 19:33:21.000000000 +0100
@@ -1,3 +1,11 @@
+dnotify (0.18.0-2ubuntu1) maverick; urgency=low
+
+  * dnotify-0.18.0/src/main.c:
+    + add missing header file to fix undefined reference to `S_ISDIR' 
+      gcc 4.5 linker error (LP: #601390)
+
+ -- Bhavani Shankar <bhavi@ubuntu.com>  Sat, 03 Jul 2010 19:56:55 +0530
+
 dnotify (0.18.0-2) unstable; urgency=low
 
   * QA upload.
diff -pruN 0.18.0-2/debian/control 0.18.0-2ubuntu1/debian/control
--- 0.18.0-2/debian/control	2010-07-04 19:35:41.000000000 +0100
+++ 0.18.0-2ubuntu1/debian/control	2010-07-04 19:33:21.000000000 +0100
@@ -1,7 +1,8 @@
 Source: dnotify
 Section: utils
 Priority: optional
-Maintainer: Debian QA Group <packages@qa.debian.org>
+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
+XSBC-Original-Maintainer: Debian QA Group <packages@qa.debian.org>
 Build-Depends: cdbs, debhelper (>> 4.1.0)
 Standards-Version: 3.8.0.0
 
diff -pruN 0.18.0-2/src/main.c 0.18.0-2ubuntu1/src/main.c
--- 0.18.0-2/src/main.c	2004-10-18 17:03:51.000000000 +0100
+++ 0.18.0-2ubuntu1/src/main.c	2010-07-04 19:33:21.000000000 +0100
@@ -20,6 +20,7 @@
 #include <config.h>
 #include <sys/types.h>
 #include <sys/wait.h>
+#include <sys/stat.h>
 #include <stdarg.h>
 #include <errno.h>
 #include <getopt.h>
