--- /dev/null
+diff -urN libupnp-1.6.6-0rig/configure libupnp-1.6.6/configure
+--- libupnp-1.6.6-0rig/configure 2008-04-25 13:47:24.000000000 +0200
++++ libupnp-1.6.6/configure 2009-01-14 21:55:16.000000000 +0100
+@@ -21096,7 +21096,6 @@
+ sys/ioctl.h \
+ sys/socket.h \
+ sys/time.h \
+- sys/timeb.h \
+ syslog.h \
+ unistd.h \
+
LIBUPNP_SOURCE:=libupnp-$(LIBUPNP_VERSION).tar.bz2
LIBUPNP_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/pupnp
+LIBUPNP_CONF_ENV = ac_cv_lib_compat_ftime=no
+
LIBUPNP_INSTALL_STAGING:=YES
$(eval $(call AUTOTARGETS,package,libupnp))