Configure and test modification for better Freebsd port

This commit is contained in:
User Olof 2019-09-20 06:09:48 -10:00
parent fe1aeda4f2
commit 8c18f2a86d
12 changed files with 31 additions and 29 deletions

View file

@ -509,7 +509,7 @@ rpc_callback_register(clicon_handle h,
char *namespace,
char *name)
{
rpc_callback_t *rc;
rpc_callback_t *rc = NULL;
if (name == NULL || namespace == NULL){
clicon_err(OE_DB, EINVAL, "name or namespace NULL");

View file

@ -55,6 +55,7 @@
#include <assert.h>
#include <sys/stat.h>
#include <netinet/in.h>
#include <sys/param.h>
/* cligen */
#include <cligen/cligen.h>

View file

@ -78,6 +78,7 @@
#include <assert.h>
#include <regex.h>
#include <netinet/in.h>
#include <sys/param.h>
/* cligen */
#include <cligen/cligen.h>