summaryrefslogtreecommitdiff
path: root/src/internal
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/slibtool_dprintf_impl.h4
-rw-r--r--src/internal/slibtool_driver_impl.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/internal/slibtool_dprintf_impl.h b/src/internal/slibtool_dprintf_impl.h
index b223f8a..c99c4b1 100644
--- a/src/internal/slibtool_dprintf_impl.h
+++ b/src/internal/slibtool_dprintf_impl.h
@@ -1,6 +1,10 @@
#ifndef SLIBTOOL_DPRINTF_IMPL_H
#define SLIBTOOL_DPRINTF_IMPL_H
+#ifdef ARGV_DRIVER
+#define argv_dprintf slbt_dprintf
+#endif
+
int slbt_dprintf(int fd, const char * fmt, ...);
#endif
diff --git a/src/internal/slibtool_driver_impl.h b/src/internal/slibtool_driver_impl.h
index fbeafbc..2f2302a 100644
--- a/src/internal/slibtool_driver_impl.h
+++ b/src/internal/slibtool_driver_impl.h
@@ -6,6 +6,7 @@
#include <sys/types.h>
#include <slibtool/slibtool.h>
+#include "slibtool_dprintf_impl.h"
#include "argv/argv.h"
#define SLBT_OPTV_ELEMENTS 64