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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user