openwrtv4/package/dropbear/patches/150-dbconvert_standalone.patch

17 lines
628 B
Diff
Raw Normal View History

Index: dropbear-0.50/options.h
===================================================================
--- dropbear-0.50.orig/options.h 2007-08-10 23:47:47.000000000 +0200
+++ dropbear-0.50/options.h 2007-08-10 23:47:49.000000000 +0200
@@ -5,6 +5,11 @@
#ifndef _OPTIONS_H_
#define _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.