dropbear: upgrade to 0.51 - 160-tty_close merged upstream - patches refreshed
[openwrt/staging/florian.git] / package / dropbear / patches / 150-dbconvert_standalone.patch
1 Index: dropbear-0.51/options.h
2 ===================================================================
3 --- dropbear-0.51.orig/options.h 2008-04-22 17:29:49.000000000 -0700
4 +++ dropbear-0.51/options.h 2008-04-22 17:29:50.000000000 -0700
5 @@ -5,6 +5,11 @@
6 #ifndef _OPTIONS_H_
7 #define _OPTIONS_H_
8
9 +#if !defined(DROPBEAR_CLIENT) && !defined(DROPBEAR_SERVER)
10 +#define DROPBEAR_SERVER
11 +#define DROPBEAR_CLIENT
12 +#endif
13 +
14 /******************************************************************
15 * Define compile-time options below - the "#ifndef DROPBEAR_XXX .... #endif"
16 * parts are to allow for commandline -DDROPBEAR_XXX options etc.