diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2011-02-02 10:25:52 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2011-02-02 10:25:52 +0100 |
commit | 17830fe1a2445c109761a5f50aa9f6d665157cd0 (patch) | |
tree | 5712eb8d5beb554555bce509f7ab610da62a7815 | |
parent | 7ea73e33f50211a1b3df6556f6fcfcbab6c36735 (diff) | |
download | libsigrokdecode-17830fe1a2445c109761a5f50aa9f6d665157cd0.tar.gz libsigrokdecode-17830fe1a2445c109761a5f50aa9f6d665157cd0.zip |
Fix build when no libusb-LA is compiled.
Until now the build would break if the user doesn't enable at least one
of the libusb1.0-based LAs. I.e., you could not compile only OLS, or
only the demo driver.
-rw-r--r-- | decode.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -18,11 +18,11 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" #include <sigrokdecode.h> /* First, so we avoid a _POSIX_C_SOURCE warning. */ #include <stdio.h> #include <string.h> #include <dirent.h> -#include <config.h> /* Re-define some string functions for Python >= 3.0. */ #if PY_VERSION_HEX >= 0x03000000 |