packages/net/btpd/patches/002-config.h.patch
swalker 0638217836 [packages] btpd: update to 0.16
* drop the openssl changes that were re-added in r16657
 * update to current gnulib sha1 code
 * re-add gnulib config header guard
 * mark conffile
 * use PKG_INSTALL


git-svn-id: svn://svn.openwrt.org/openwrt/packages@24776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-22 03:33:49 +00:00

14 lines
219 B
Diff

--- a/misc/sha1.c
+++ b/misc/sha1.c
@@ -23,7 +23,9 @@
Robert Klep <robert@ilse.nl> -- Expansion function fix
*/
-#include <config.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
#include "sha1.h"