mirror of
https://github.com/apache/nuttx.git
synced 2026-10-03 20:27:53 +00:00
add MAXHOSTNAMELEN in headfile
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
parent
1b3005accf
commit
624b8d0776
3 changed files with 7 additions and 2 deletions
|
|
@ -25,10 +25,14 @@
|
|||
* Included Files
|
||||
****************************************************************************/
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
#define MAXHOSTNAMELEN HOST_NAME_MAX
|
||||
|
||||
/****************************************************************************
|
||||
* Public Type Definitions
|
||||
****************************************************************************/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue