diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-01-01 17:14:26 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-01-01 17:14:26 +0000 |
commit | 92f665747e9d9aecac7c203e53d4eb175e662fc8 (patch) | |
tree | 343b938cade639d1cbcc09a9a00911f2789ee947 /main.c | |
parent | 21ddc0a002b54301ac9de5f6dd73928ed0d73a94 (diff) | |
download | mandoc-92f665747e9d9aecac7c203e53d4eb175e662fc8.tar.gz |
Big check-in of compatibility layer. This should work on most major architectures. Thanks to Joerg Sonnenberger.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -14,6 +14,10 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <sys/stat.h> #include <assert.h> @@ -38,11 +42,6 @@ # endif #endif /* !defined(__GNUC__) || (__GNUC__ < 2) */ -#ifdef __linux__ -extern int getsubopt(char **, char * const *, char **); -extern size_t strlcat(char *, const char *, size_t); -#endif - typedef void (*out_mdoc)(void *, const struct mdoc *); typedef void (*out_man)(void *, const struct man *); typedef void (*out_free)(void *); |