Updates to accomodate building and compiling on FreeBSD systems.

git-svn-id: file:///home/mbr/svn/fwknop/trunk@276 510a4753-2344-4c79-9c09-4d669213fbeb
This commit is contained in:
Damien Stuart
2010-08-08 18:53:35 +00:00
parent 51adbe26a2
commit 6126b7b7ca
11 changed files with 54 additions and 154 deletions

View File

@@ -33,9 +33,14 @@
#endif
#include <stdio.h>
#include <sys/types.h>
#include <errno.h>
#if HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#if HAVE_ERRNO_H
#include <errno.h>
#endif
#if STDC_HEADERS
#include <stdlib.h>
@@ -65,10 +70,10 @@
#define strncasecmp _strnicmp
#define snprintf _snprintf
#define unlink _unlink
#define PATH_SEP "\\"
#define PATH_SEP '\\'
#else
#include <signal.h>
#define PATH_SEP "/"
#define PATH_SEP '/'
#endif
#include "fko.h"