diff options
Diffstat (limited to 'compat/asprintf.c')
-rw-r--r-- | compat/asprintf.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/compat/asprintf.c b/compat/asprintf.c index 2b53dbe2..95d78430 100644 --- a/compat/asprintf.c +++ b/compat/asprintf.c @@ -14,15 +14,14 @@ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include <sys/types.h> + #include <stdarg.h> #include <stdio.h> -#ifdef HAVE_STDINT_H -#include <stdint.h> -#else -#include <inttypes.h> -#endif #include <string.h> +#include "compat.h" + int asprintf(char **ret, const char *fmt, ...) { |