added <netinet/in.h> include and C++ header guards
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1654 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -3,8 +3,14 @@
|
|||||||
#ifndef NETDB_H
|
#ifndef NETDB_H
|
||||||
#define NETDB_H
|
#define NETDB_H
|
||||||
|
|
||||||
|
#include <netinet/in.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifndef MAXHOSTNAMELEN
|
#ifndef MAXHOSTNAMELEN
|
||||||
#define MAXHOSTNAMELEN 64
|
#define MAXHOSTNAMELEN 64
|
||||||
#endif
|
#endif
|
||||||
@@ -174,4 +180,8 @@ void endservent (void);
|
|||||||
*/
|
*/
|
||||||
#define ERRSET_SUCCESS 0
|
#define ERRSET_SUCCESS 0
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* NETDB_H */
|
#endif /* NETDB_H */
|
||||||
|
|||||||
Reference in New Issue
Block a user