fix undefined LINE_MAX on Android
This commit is contained in:
parent
4154cf252c
commit
4a28cc57e4
1 changed files with 4 additions and 0 deletions
|
|
@ -26,6 +26,10 @@
|
|||
#include "udev.h"
|
||||
#include "udev_list.h"
|
||||
|
||||
#ifndef LINE_MAX
|
||||
#define LINE_MAX 2048
|
||||
#endif
|
||||
|
||||
#ifndef LONG_BIT
|
||||
#define LONG_BIT (sizeof(unsigned long) * 8)
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue