Browse Source

Fixed busybox to compile against dietlibc a bit more, crypt() comes from unistd.h according to POSIX.

early
Alejandro Mery 18 years ago
parent
commit
94633b61e9
  1. 11
      base/busybox/dietlibc.patch

11
base/busybox/dietlibc.patch

@ -26,3 +26,14 @@
/* ============ Misc helpers */
--- ./libbb/pw_encrypt.c.orig 2007-07-21 19:35:23.000000000 -0400
+++ ./libbb/pw_encrypt.c 2007-07-21 19:35:36.000000000 -0400
@@ -8,7 +8,7 @@
*/
#include "libbb.h"
-#include <crypt.h>
+#include <unistd.h>
char *pw_encrypt(const char *clear, const char *salt)
{

Loading…
Cancel
Save