mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
MFC r196472:
Enable _DIRENT_HAVE_D_TYPE so wpa_cli scans directories properly for it's unix domain socket. Before this change wpa_cli would take the first file in the directory that was not "." or "..". Approved by: re (rwatson)
This commit is contained in:
parent
b9a4add986
commit
f9906ce770
1 changed files with 2 additions and 0 deletions
|
|
@ -11,6 +11,8 @@ MAN= wpa_cli.8
|
|||
|
||||
CFLAGS+= -DCONFIG_CTRL_IFACE
|
||||
CFLAGS+= -DCONFIG_CTRL_IFACE_UNIX
|
||||
# enable use of d_type to identify unix domain sockets
|
||||
CFLAGS+= -D_DIRENT_HAVE_D_TYPE
|
||||
|
||||
#CFLAGS+= -DCONFIG_READLINE
|
||||
#LDADD+= -ledit -ltermcap
|
||||
|
|
|
|||
Loading…
Reference in a new issue