Blob Blame Raw
diff -urp prelude-lml-1.0.0.orig/libmissing/stdio.in.h prelude-lml-1.0.0/libmissing/stdio.in.h
--- prelude-lml-1.0.0.orig/libmissing/stdio.in.h	2010-02-08 11:46:03.000000000 -0500
+++ prelude-lml-1.0.0/libmissing/stdio.in.h	2013-03-10 13:24:27.088000000 -0400
@@ -116,8 +116,10 @@ _GL_WARN_ON_USE (fflush, "fflush is not
 /* It is very rare that the developer ever has full control of stdin,
    so any use of gets warrants an unconditional warning.  Assume it is
    always declared, since it is required by C89.  */
+#ifdef gets
 #undef gets
 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+#endif
 
 #if @GNULIB_FOPEN@
 # if @REPLACE_FOPEN@
diff -urp prelude-lml-1.0.0.orig/src/prelude-lml.c prelude-lml-1.0.0/src/prelude-lml.c
--- prelude-lml-1.0.0.orig/src/prelude-lml.c	2010-02-05 12:45:25.000000000 -0500
+++ prelude-lml-1.0.0/src/prelude-lml.c	2013-03-10 13:23:56.313000000 -0400
@@ -35,6 +35,7 @@
 #include <sys/select.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
+#include <ltdl.h>
 
 #if TIME_WITH_SYS_TIME
 # include <sys/time.h>