fix undefined LINE_MAX on Android

This commit is contained in:
Marc-André Moreau
2022-04-15 10:09:26 -04:00
parent 4154cf252c
commit 4a28cc57e4

View File

@@ -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