pppd/Makefile.linux: Fix copy/paste typo (#237)
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 22 Jan 2021 05:02:58 +0000 (05:02 +0000)
committerGitHub <noreply@github.com>
Fri, 22 Jan 2021 05:02:58 +0000 (16:02 +1100)
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>
pppd/Makefile.linux

index 312580bd1b47801c7d7c781590179d3afe8f852b..c3489fb5dbf06673ad849ee6a62eb3d1982892ac 100644 (file)
@@ -144,7 +144,7 @@ CFLAGS   += -DHAS_SHADOW
 #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