This patch fixes a build error seen on the buildroot project:
http://autobuild.buildroot.net/results/afc/afcea2068d5b0ba707aa90339401550602103ca7/

Patch taken from
https://github.com/dx9/ceph/commit/4f7bcabca7737c3f48f07ca2b4b1296c29e3358b
which solved a similar problem.

Signed-off-by: Bernd Kuhls <bernd.ku...@t-online.de>
---
You can also pull this commit from
https://github.com/bkuhls/libsigrok/commit/1b9ca481b2447154d12a7a94fe90c5b968ddf41c

 src/hardware/beaglelogic/beaglelogic.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/hardware/beaglelogic/beaglelogic.h 
b/src/hardware/beaglelogic/beaglelogic.h
index 9015c61..165b386 100644
--- a/src/hardware/beaglelogic/beaglelogic.h
+++ b/src/hardware/beaglelogic/beaglelogic.h
@@ -28,6 +28,10 @@
 #include <stdlib.h>
 #include <unistd.h>
 
+#ifndef __STRING
+# define __STRING(x) #x
+#endif
+
 /* BeagleLogic device node name */
 #define BEAGLELOGIC_DEV_NODE        "/dev/beaglelogic"
 #define BEAGLELOGIC_SYSFS_ATTR(a)   "/sys/devices/virtual/misc/beaglelogic/"\
-- 
2.7.0.rc3


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to