diff options
| author | Dirk-Jan C. Binnema <djcb@djcbsoftware.nl> | 2021-08-08 15:15:51 +0300 |
|---|---|---|
| committer | Dirk-Jan C. Binnema <djcb@djcbsoftware.nl> | 2021-08-08 15:15:51 +0300 |
| commit | 16a2cffc1131a1d9637ac3d10edfa983bfb366a8 (patch) | |
| tree | 9aa84bdb1fb0b152055634169bfec370ee5b35f2 | |
| parent | dadd3062dc94111b6b65a9fe3d318db1d4507193 (diff) | |
utils: use _GNU_SOURCE for S_ISLINK on freebsd
Unbreak FreeBSD build.
Fixes: #2079.
| -rw-r--r-- | lib/utils/mu-util.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/lib/utils/mu-util.c b/lib/utils/mu-util.c index 1742be6..076cee7 100644 --- a/lib/utils/mu-util.c +++ b/lib/utils/mu-util.c @@ -1,7 +1,5 @@ -/* -*-mode: c; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-*/ /* -** -** Copyright (C) 2008-2016 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl> +** Copyright (C) 2008-2021 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl> ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by @@ -19,13 +17,11 @@ ** */ -#if HAVE_CONFIG_H #include <config.h> -#endif /*HAVE_CONFIG_H*/ -#ifndef _XOPEN_SOURCE -#define _XOPEN_SOURCE (500) -#endif /*_XOPEN_SOURCE*/ +#ifndef _GNU_SOURCE +#define _GNU_SOURCE +#endif /*_GNU_SOURCE*/ #include "mu-util.h" #ifdef HAVE_WORDEXP_H |
