diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-08-29 10:47:16 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-12-13 14:12:02 +0100 |
commit | 57db1e89a4dca62b55e5fc2e7af9592d5aefdd73 (patch) | |
tree | b78fc3ae74ed47c873537ac596848467e14962b4 /filescan-utils.h | |
parent | d02ab63e862b0db074227982d69924b44bc5254d (diff) |
Fix: set default value if missing defined var
Change-Id: I93f8546e2cfe7fc11fdf0f956f10429f6c0ad8d0
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'filescan-utils.h')
-rw-r--r-- | filescan-utils.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/filescan-utils.h b/filescan-utils.h index a97d030..e0c5da1 100644 --- a/filescan-utils.h +++ b/filescan-utils.h @@ -31,6 +31,10 @@ #endif #define STATIC static +#ifndef MAXPATH_LEN + #define MAXPATH_LEN 255 +#endif + // ctl-misc.c typedef enum { CTL_SCAN_FLAT=0, |