~sra/libmodbus/trunk

« back to all changes in this revision

Viewing changes to src/modbus.h

  • Committer: Stéphane Raimbault
  • Date: 2009-10-22 12:50:16 UTC
  • Revision ID: stephane.raimbault@gmail.com-20091022125016-ca0gy8ygzi5icdvb
Fix #457200 - FreeBSD support by Norbert Koch

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
#ifndef _MODBUS_H_
19
19
#define _MODBUS_H_
20
20
 
 
21
#ifdef HAVE_INTTYPES_H
 
22
#include <inttypes.h>
 
23
#endif
 
24
#ifdef HAVE_STDINT_H
21
25
#include <stdint.h>
 
26
#endif
22
27
#include <termios.h>
 
28
#if defined(__FreeBSD__ ) && __FreeBSD__ < 5
 
29
#include <netinet/in_systm.h>
 
30
#endif
 
31
#include <netinet/in.h>
 
32
#include <netinet/ip.h>
 
33
#include <netinet/tcp.h>
23
34
#include <arpa/inet.h>
24
35
 
25
36
#ifdef __cplusplus