Index: src/cmd/ksh93/bltins/typeset.c
--- src/cmd/ksh93/bltins/typeset.c.orig	2007-01-12 01:02:47 +0100
+++ src/cmd/ksh93/bltins/typeset.c	2007-01-15 19:38:07 +0100
@@ -34,6 +34,7 @@
  */
 
 #include	"defs.h"
+#include	<dlfcn.h>
 #include	<error.h>
 #include	"path.h"
 #include	"name.h"
Index: src/cmd/ksh93/sh/path.c
--- src/cmd/ksh93/sh/path.c.orig	2007-01-12 01:02:27 +0100
+++ src/cmd/ksh93/sh/path.c	2007-01-15 19:31:09 +0100
@@ -25,6 +25,7 @@
  */
 
 #include	"defs.h"
+#include	<dlfcn.h>
 #include	<fcin.h>
 #include	<ls.h>
 #include	<nval.h>
Index: src/lib/libast/sfio/sfstrtof.h
--- src/lib/libast/sfio/sfstrtof.h.orig	2004-08-27 20:52:59 +0200
+++ src/lib/libast/sfio/sfstrtof.h	2005-10-03 18:34:02 +0200
@@ -53,7 +53,7 @@
 
 #if !defined(S2F_function)
 #define S2F_function	_sfdscan
-#define S2F_static	1
+#define S2F_static	-1
 #define S2F_type	2
 #define S2F_scan	1
 #ifndef elementsof
