Fixed build for platforms which use the default value for QUEUEBUF_NUM.
This commit is contained in:
parent
af3f4ae679
commit
2f89e69ff7
3 changed files with 10 additions and 10 deletions
|
@ -41,7 +41,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: queuebuf.h,v 1.2 2010/10/04 20:26:01 adamdunkels Exp $
|
||||
* $Id: queuebuf.h,v 1.3 2010/10/12 19:51:28 oliverschmidt Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -56,6 +56,12 @@
|
|||
|
||||
#include "net/packetbuf.h"
|
||||
|
||||
#ifdef QUEUEBUF_CONF_NUM
|
||||
#define QUEUEBUF_NUM QUEUEBUF_CONF_NUM
|
||||
#else
|
||||
#define QUEUEBUF_NUM 8
|
||||
#endif
|
||||
|
||||
struct queuebuf;
|
||||
|
||||
void queuebuf_init(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue