mirror of
https://github.com/Fishwaldo/libzwaveip.git
synced 2025-03-15 19:31:31 +00:00
Fix up Linux build errors
This commit is contained in:
parent
ae11b1ac6c
commit
3538c6d48d
4 changed files with 5 additions and 7 deletions
|
@ -90,18 +90,16 @@ struct zip_service
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* First elemnets in a linked list of Z/IP services
|
* get a linked list of Z/IP services
|
||||||
*
|
*
|
||||||
* The list may be iterated like this
|
* The list may be iterated like this
|
||||||
* @code{.c}
|
* @code{.c}
|
||||||
* struct zip_service* n;;
|
* struct zip_service* n;;
|
||||||
* for(n = zresource_services; n ; n=n->next) {
|
* for(n = zresource_get(); n ; n=n->next) {
|
||||||
* ...
|
* ...
|
||||||
* }
|
* }
|
||||||
* @endcode
|
* @endcode
|
||||||
*/
|
*/
|
||||||
//extern struct zip_service* zresource_services;
|
|
||||||
|
|
||||||
struct zip_service* zresource_get();
|
struct zip_service* zresource_get();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
/* Define to 1 if you have getpwnam_r and getpwuid_r that are POSIX.1
|
/* Define to 1 if you have getpwnam_r and getpwuid_r that are POSIX.1
|
||||||
compatible. */
|
compatible. */
|
||||||
#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))
|
#if (defined(__APPLE__) && defined(__MACH__))
|
||||||
#undef HAVE_GETPW_R_POSIX
|
#undef HAVE_GETPW_R_POSIX
|
||||||
#else
|
#else
|
||||||
#define HAVE_GETPW_R_POSIX 1
|
#define HAVE_GETPW_R_POSIX 1
|
||||||
|
|
|
@ -48,7 +48,7 @@ __RCSID("$NetBSD: history.c,v 1.57 2016/04/11 18:56:31 christos Exp $");
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))
|
#if (defined(__APPLE__) && defined(__MACH__))
|
||||||
#include <vis.h>
|
#include <vis.h>
|
||||||
#else
|
#else
|
||||||
#include <bsd/vis.h>
|
#include <bsd/vis.h>
|
||||||
|
|
|
@ -48,7 +48,7 @@ __RCSID("$NetBSD: readline.c,v 1.138 2016/09/01 13:23:44 mbalmer Exp $");
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))
|
#if (defined(__APPLE__) && defined(__MACH__))
|
||||||
#include <vis.h>
|
#include <vis.h>
|
||||||
#else
|
#else
|
||||||
#include <bsd/vis.h>
|
#include <bsd/vis.h>
|
||||||
|
|
Loading…
Add table
Reference in a new issue