d8e283e4de85cb82e117b9021de53bf282dd3237
[openwrt-10.03/.git] / package / dropbear / patches / 150-dbconvert_standalone.patch
1 Index: dropbear-0.49/options.h
2 ===================================================================
3 --- dropbear-0.49.orig/options.h        2007-06-04 13:21:40.305849248 +0200
4 +++ dropbear-0.49/options.h     2007-06-04 13:21:40.493820672 +0200
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.