summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/internal/sofort_dprintf_impl.h4
-rw-r--r--src/internal/sofort_driver_impl.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/internal/sofort_dprintf_impl.h b/src/internal/sofort_dprintf_impl.h
index bfcc4ca..1508ffc 100644
--- a/src/internal/sofort_dprintf_impl.h
+++ b/src/internal/sofort_dprintf_impl.h
@@ -1,6 +1,10 @@
#ifndef SOFORT_DPRINTF_IMPL_H
#define SOFORT_DPRINTF_IMPL_H
+#ifdef ARGV_DRIVER
+#define argv_dprintf sfrt_dprintf
+#endif
+
int sfrt_dprintf(int fd, const char * fmt, ...);
#endif
diff --git a/src/internal/sofort_driver_impl.h b/src/internal/sofort_driver_impl.h
index a9788f4..640aa2d 100644
--- a/src/internal/sofort_driver_impl.h
+++ b/src/internal/sofort_driver_impl.h
@@ -6,6 +6,7 @@
#include <sys/types.h>
#include <sofort/sofort.h>
+#include "sofort_dprintf_impl.h"
#include "argv/argv.h"
#define SFRT_OPTV_ELEMENTS 64