Compilable under FreeBSD

FossilOrigin-Name: 82eb07018ba4eb48e6c8839cd4931fad118c3c5f5e84d221b8dc360dd5c8364d
bsdmakefiles
7u83@mail.ru 6 years ago
parent 2734c8a8c4
commit b97c8a502e
  1. 5
      src/cw/cw_type_ipaddress.c
  2. 2
      src/cw/log.h
  3. 2
      src/cw/lw_put_sockaddr.c

@ -1,6 +1,11 @@
#include <stdio.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include "format.h"
#include "cw.h"
#include "ktv.h"

@ -30,9 +30,9 @@
#ifndef __CW_LOG_H
#define __CW_LOG_H
#include <syslog.h>
#include <stdarg.h>
#include <stdint.h>
#include <syslog.h>
#ifndef LOG_ERROR
#define LOG_ERROR LOG_ERR

@ -19,7 +19,9 @@
#include <string.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include "sock.h"
#include "lw.h"

Loading…
Cancel
Save