]> sigrok.org Git - libsigrok.git/commitdiff
libsigrok.hpp: Fix incorrect glibmm.h #include.
authorUwe Hermann <redacted>
Sat, 17 Jan 2015 18:59:44 +0000 (19:59 +0100)
committerUwe Hermann <redacted>
Sat, 17 Jan 2015 18:59:44 +0000 (19:59 +0100)
As per upstream docs "#include <glibmm.h>" is the correct usage,
the "glibmm-2.4" directory is handled correctly via pkg-config:

 $ pkg-config --cflags glibmm-2.4
 -I/usr/include/glibmm-2.4 [...]

bindings/cxx/include/libsigrok/libsigrok.hpp

index 5b53da94e548ce3b89814dc915b3d11039dccee4..1b80af5efbc96243d477797c82abde97ee82a9cc 100644 (file)
@@ -71,7 +71,7 @@ raised, which provides access to the error code and description.
 #define LIBSIGROK_HPP
 
 #include "libsigrok/libsigrok.h"
-#include <glibmm-2.4/glibmm.h>
+#include <glibmm.h>
 
 #include <stdexcept>
 #include <memory>