$NetBSD$

--- tcl/uutcl.c.orig	2006-01-02 16:21:02.000000000 +0000
+++ tcl/uutcl.c
@@ -52,9 +52,10 @@
  * The following variable is a special hack that is needed in order for
  * Sun shared libraries to be used for Tcl.
  */
-
+#if !defined(__DragonFly__)
 extern int matherr();
 int *tclDummyMathPtr = (int *) matherr;
+#endif
 
 #include <uudeview.h>
 #include <uuint.h>
