A previous commit to fix a make issue had a copy/paste error, fix it
to refer to the correct header.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
#LIBS += -lshadow $(LIBS)
endif
#LIBS += -lshadow $(LIBS)
endif
-CRYPTHEADER = "\#include <utmp.h>"
+CRYPTHEADER = "\#include <crypt.h>"
ifeq ($(shell echo $(CRYPTHEADER) | $(CC) -E - >/dev/null 2>&1 && echo yes),yes)
CFLAGS += -DHAVE_CRYPT_H=1
LIBS += -lcrypt
ifeq ($(shell echo $(CRYPTHEADER) | $(CC) -E - >/dev/null 2>&1 && echo yes),yes)
CFLAGS += -DHAVE_CRYPT_H=1
LIBS += -lcrypt