mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2025-12-10 07:44:39 +01:00
tr181: add missing include in deviceinfo.c
Fixes compilation error on vanilla OpenWrt: error: implicit declaration of function 'basename' [-Werror=implicit-function-declaration] 212 | base = basename(buf); /* before we replace argv0's NUL with space */ | ^~~~~~~~ /home/dev/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/bbfdm-1.8.9/libbbfdm/dmtree/tr181/deviceinfo.c:212:22: error: assignment to 'const char *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion] 212 | base = basename(buf); /* before we replace argv0's NUL with space */ | ^
This commit is contained in:
parent
41d4e915e3
commit
afc14c05d1
1 changed files with 1 additions and 0 deletions
|
|
@ -11,6 +11,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "sys/statvfs.h"
|
#include "sys/statvfs.h"
|
||||||
|
#include <libgen.h>
|
||||||
#include <openssl/sha.h>
|
#include <openssl/sha.h>
|
||||||
#include <openssl/evp.h>
|
#include <openssl/evp.h>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue