aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/dropbear/patches/150-dbconvert_standalone.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/services/dropbear/patches/150-dbconvert_standalone.patch')
-rw-r--r--package/network/services/dropbear/patches/150-dbconvert_standalone.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/network/services/dropbear/patches/150-dbconvert_standalone.patch b/package/network/services/dropbear/patches/150-dbconvert_standalone.patch
new file mode 100644
index 0000000..ccc2cb7
--- /dev/null
+++ b/package/network/services/dropbear/patches/150-dbconvert_standalone.patch
@@ -0,0 +1,14 @@
+--- a/options.h
++++ b/options.h
+@@ -5,6 +5,11 @@
+ #ifndef DROPBEAR_OPTIONS_H_
+ #define DROPBEAR_OPTIONS_H_
+
++#if !defined(DROPBEAR_CLIENT) && !defined(DROPBEAR_SERVER)
++#define DROPBEAR_SERVER
++#define DROPBEAR_CLIENT
++#endif
++
+ /* Define compile-time options below - the "#ifndef DROPBEAR_XXX .... #endif"
+ * parts are to allow for commandline -DDROPBEAR_XXX options etc. */
+