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 | 73aca81b50073109b137bba659d38af11d7194ac (patch) | |
tree | db3b28024b3493b57e793eb072a69c9da331b8da /mandoc.c | |
parent | 9702d475f59435139db2b0794a26dd69937fab7c (diff) | |
download | mandoc-73aca81b50073109b137bba659d38af11d7194ac.tar.gz mandoc-73aca81b50073109b137bba659d38af11d7194ac.tar.zst mandoc-73aca81b50073109b137bba659d38af11d7194ac.zip |
Big check-in of compatibility layer. This should work on most major architectures. Thanks to Joerg Sonnenberger.
Diffstat (limited to 'mandoc.c')
-rw-r--r-- | mandoc.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: mandoc.c,v 1.8 2009/11/05 10:16:01 kristaps Exp $ */ +/* $Id: mandoc.c,v 1.9 2010/01/01 17:14:28 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -14,8 +14,8 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#if defined(__linux__) || defined(__MINT__) -# define _GNU_SOURCE /* strptime() */ +#ifdef HAVE_CONFIG_H +#include "config.h" #endif #include <sys/types.h> |