summaryrefslogtreecommitdiffhomepage
path: root/src/internal
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/ntux_dprintf_impl.h4
-rw-r--r--src/internal/ntux_driver_impl.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/internal/ntux_dprintf_impl.h b/src/internal/ntux_dprintf_impl.h
index 4296bd0..2367ef1 100644
--- a/src/internal/ntux_dprintf_impl.h
+++ b/src/internal/ntux_dprintf_impl.h
@@ -1,6 +1,10 @@
#ifndef NTUX_DPRINTF_IMPL_H
#define NTUX_DPRINTF_IMPL_H
+#ifdef ARGV_DRIVER
+#define argv_dprintf ntux_dprintf
+#endif
+
int ntux_dprintf(int fd, const char * fmt, ...);
#endif
diff --git a/src/internal/ntux_driver_impl.h b/src/internal/ntux_driver_impl.h
index 21013a3..32e3d1f 100644
--- a/src/internal/ntux_driver_impl.h
+++ b/src/internal/ntux_driver_impl.h
@@ -7,6 +7,7 @@
#include <stdio.h>
#include <ntux/ntux.h>
+#include "ntux_dprintf_impl.h"
#include "argv/argv.h"
#define NTUX_OPTV_ELEMENTS 64