aboutsummaryrefslogtreecommitdiff
path: root/samples/gpio-pci-idio-16.c
diff options
context:
space:
mode:
authorJohn Levon <john.levon@nutanix.com>2020-11-19 09:23:10 +0000
committerGitHub <noreply@github.com>2020-11-19 09:23:10 +0000
commit58b89f9e0f7cd7847606fb22d2c0b9a38735cd62 (patch)
tree2fe5e0f56a1bb02572d8cd95cbd3c7f91a3ee9db /samples/gpio-pci-idio-16.c
parent57777a738b6945c203f28f7ee5829d04e8824f8c (diff)
downloadlibvfio-user-58b89f9e0f7cd7847606fb22d2c0b9a38735cd62.zip
libvfio-user-58b89f9e0f7cd7847606fb22d2c0b9a38735cd62.tar.gz
libvfio-user-58b89f9e0f7cd7847606fb22d2c0b9a38735cd62.tar.bz2
refactor socket code into lib/tran_sock.[ch] (#97)
Diffstat (limited to 'samples/gpio-pci-idio-16.c')
-rw-r--r--samples/gpio-pci-idio-16.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/samples/gpio-pci-idio-16.c b/samples/gpio-pci-idio-16.c
index 3e47fc9..3e9b1ed 100644
--- a/samples/gpio-pci-idio-16.c
+++ b/samples/gpio-pci-idio-16.c
@@ -41,8 +41,9 @@
#include <signal.h>
#include <errno.h>
+#include "../lib/common.h"
#include "../lib/muser.h"
-#include "../lib/muser_priv.h"
+#include "../lib/tran_sock.h"
static void
_log(UNUSED void *pvt, UNUSED lm_log_lvl_t lvl, char const *msg)