Hi,

You really should also remove the "extern int errno" on the next
line, since this is wrong.

I've changed the patch to be like other places in the source.

Kurt

--- ./pd/pathalias/domain.c.old 2005-03-09 21:04:48.948922158 +0100
+++ ./pd/pathalias/domain.c     2005-03-09 21:04:09.094355332 +0100
@@ -12,7 +12,13 @@
 extern dom *newdom();
 extern void die();
 extern char *strsave();
-extern int errno, Vflag;
+extern int Vflag;
+
+#include <errno.h>
+
+#ifndef __STDC__
+extern int errno;
+#endif
 
 /* exports */
 int ondomlist();

Reply via email to