summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/internal/ptycon_dprintf_impl.h4
-rw-r--r--src/internal/ptycon_driver_impl.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/internal/ptycon_dprintf_impl.h b/src/internal/ptycon_dprintf_impl.h
index 495b787..d2b5c7d 100644
--- a/src/internal/ptycon_dprintf_impl.h
+++ b/src/internal/ptycon_dprintf_impl.h
@@ -1,6 +1,10 @@
#ifndef PTYCON_DPRINTF_IMPL_H
#define PTYCON_DPRINTF_IMPL_H
+#ifdef ARGV_DRIVER
+#define argv_dprintf ptyc_dprintf
+#endif
+
int ptyc_dprintf(int fd, const char * fmt, ...);
#endif
diff --git a/src/internal/ptycon_driver_impl.h b/src/internal/ptycon_driver_impl.h
index 486def3..1037894 100644
--- a/src/internal/ptycon_driver_impl.h
+++ b/src/internal/ptycon_driver_impl.h
@@ -10,6 +10,7 @@
#include <ptycon/ptycon.h>
#include "ptycon_bridge_impl.h"
+#include "ptycon_dprintf_impl.h"
#include "argv/argv.h"
#define PTYC_OPTV_ELEMENTS 64