scpi_vxi: Unbreak MacOS build (vxi.h inclusion order).
[libsigrok.git] / src / scpi / scpi_vxi.c
index 9b38efdab1c83581146b3fe5a0344019bce49d44..66e1d7db50adc471c973273139c145d9a33da00a 100644 (file)
  */
 
 #include <config.h>
-#include <rpc/rpc.h>
+/* vxi.h must the first #include after config.h See commit d40b8557. */
+#include "vxi.h"
 #include <string.h>
 #include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "scpi.h"
-#include "vxi.h"
 
 #define LOG_PREFIX "scpi_vxi"
 #define VXI_DEFAULT_TIMEOUT_MS 2000