kernel build cleanup
[openwrt.git] / package / dropbear / patches / 160-pam_header.patch
1 diff -ur dropbear.old/svr-authpam.c dropbear.dev/svr-authpam.c
2 --- dropbear.old/svr-authpam.c  2006-03-12 05:52:52.000000000 +0100
3 +++ dropbear.dev/svr-authpam.c  2007-02-27 02:55:41.382234344 +0100
4 @@ -31,14 +31,13 @@
5  #include "dbutil.h"
6  #include "auth.h"
7  
8 +#ifdef ENABLE_SVR_PAM_AUTH
9  #if defined(HAVE_SECURITY_PAM_APPL_H)
10  #include <security/pam_appl.h>
11  #elif defined (HAVE_PAM_PAM_APPL_H)
12  #include <pam/pam_appl.h>
13  #endif
14  
15 -#ifdef ENABLE_SVR_PAM_AUTH
16 -
17  struct UserDataS {
18         char* user;
19         char* passwd;