commit 9658c7cfa75d7e93d71a47ff709227dbd120439f
parent 33de3bffdb82c54d4e412d74444ce4245f53f927
Author: Connor Lane Smith <cls@lubutu.com>
Date: Sat, 25 Jun 2011 17:33:38 +0100
apathmax fix
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/util.h b/util.h
@@ -3,8 +3,8 @@
#define UTF8_POINT(c) (((c) & 0xc0) != 0x80)
char *agetcwd(void);
-void enmasse(int, char **, int (*)(const char *, const char *));
void apathmax(char **, long *);
+void enmasse(int, char **, int (*)(const char *, const char *));
void eprintf(const char *, ...);
void enprintf(int, const char *, ...);
long estrtol(const char *, int);
diff --git a/util/apathmax.c b/util/apathmax.c
@@ -1,6 +1,7 @@
/* See LICENSE file for copyright and license details. */
#include <errno.h>
#include <limits.h>
+#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "../util.h"