Don't use `strnlen` in debug.c as it's a GNU extension (and as such isn't always available), instead use `strnlen1 - 1`

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3795 4a71c877-e1ca-e34f-864e-861f7616d084
master
Giel van Schijndel 2008-02-16 11:53:25 +00:00
parent 7acbd09ec0
commit 33759c07c4
1 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,8 @@
#include <stdio.h>
#include "frameint.h"
#include "strnlen1.h"
#include <string.h>
#define MAX_LEN_LOG_LINE 512