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-861f7616d084master
parent
7acbd09ec0
commit
33759c07c4
|
@ -30,6 +30,8 @@
|
|||
#include <stdio.h>
|
||||
|
||||
#include "frameint.h"
|
||||
#include "strnlen1.h"
|
||||
#include <string.h>
|
||||
|
||||
#define MAX_LEN_LOG_LINE 512
|
||||
|
||||
|
|
Loading…
Reference in New Issue