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:
Sam Leffler 2009-08-23 16:21:49 +00:00
parent b9a4add986
commit f9906ce770
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/8/; revision=196473

View File

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