Fixed missing #includes and restricted linuxradiodrv compilation to linux
This commit is contained in:
parent
43a327df5a
commit
52c90519d9
2 changed files with 16 additions and 3 deletions
|
@ -36,6 +36,12 @@
|
|||
#include <inttypes.h>
|
||||
#include <limits.h>
|
||||
|
||||
struct select_callback {
|
||||
int (* set_fd)(fd_set *fdr, fd_set *fdw);
|
||||
void (* handle_fd)(fd_set *fdr, fd_set *fdw);
|
||||
};
|
||||
int select_set_callback(int fd, const struct select_callback *callback);
|
||||
|
||||
#define CC_CONF_REGISTER_ARGS 1
|
||||
#define CC_CONF_FUNCTION_POINTER_ARGS 1
|
||||
#define CC_CONF_FASTCALL
|
||||
|
@ -88,9 +94,9 @@ typedef unsigned short uip_stats_t;
|
|||
*/
|
||||
#define WEBSERVER_CONF_STATUSPAGE 1
|
||||
|
||||
/* RPL currently works only on Windows. *nix would require converting the tun interface to two pcap tees. */
|
||||
/* RPL currently works only on Windows. *nix would require converting the tun interface to two pcap tees. */
|
||||
//#define RPL_BORDER_ROUTER 0
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if UIP_CONF_IPV6_RPL
|
||||
/* RPL motes use the uip.c link layer address or optionally the harded coded address (but without the prefix!)
|
||||
|
@ -121,7 +127,7 @@ typedef unsigned short uip_stats_t;
|
|||
* e.g. the jackdaw RNDIS <-> repeater. Then RPL will configure on the radio network and the RF motes will
|
||||
* be reached through bbbb::<mote link layer address>.
|
||||
* Possibly minimal-net RPL motes could also be added to this interface?
|
||||
*
|
||||
*
|
||||
*/
|
||||
#undef UIP_CONF_ROUTER
|
||||
#define UIP_CONF_ROUTER 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue