commit b7d8232b2405f25b0ee24b71bda61b5502484339
parent 03f6d602c99acf9bb54ce77d59fcbd2de014168b
Author: Frederic Cambus <fred@statdns.com>
Date: Sat, 26 Nov 2016 16:42:31 +0100
Define __USE_POSIX to attempt fixing implicit declaration of function 'strtok_r' on Linux
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/parse.c b/src/parse.c
@@ -5,13 +5,14 @@
/* http://www.logswan.org */
/* */
/* Created: 2015-05-31 */
-/* Last Updated: 2016-10-30 */
+/* Last Updated: 2016-11-26 */
/* */
/* Logswan is released under the BSD 2-Clause license. */
/* See LICENSE file for details. */
/* */
/*****************************************************************************/
+#define __USE_POSIX
#include <string.h>
#include "parse.h"