Revert "pppd: Include time.h before using time_t"
authorPaul Mackerras <paulus@ozlabs.org>
Thu, 3 Oct 2019 22:31:48 +0000 (08:31 +1000)
committerPaul Mackerras <paulus@ozlabs.org>
Thu, 3 Oct 2019 22:31:48 +0000 (08:31 +1000)
commit0d004db25edd42f6720f48eedc51f68a781278db
tree643c5b877bf0a949ca5e123a1d4e211e958c9539
parente400854cda14e5718fd888418911d4bfba31b0f1
Revert "pppd: Include time.h before using time_t"

This reverts commit b6cd5586f72852f56428749202779af596353b9e
because it break compilation on Solaris with the following error:

/opt/SUNWspro/bin/cc -D_KERNEL -DSVR4 -DSOL2 -DPRIOQ -DDEBUG
-I../include -O -Xa -xO2 -xspace -W0,-Lt -c ppp.c
"ppp.c", line 113: identifier redeclared: time
        current : long
        previous: function(pointer to long) returning long :
"/usr/include/iso/time_iso.h", line 91
cc: acomp failed for ppp.c

The include/net/ppp_defs.h header is used in the Solaris kernel
driver and hence can't include userland headers.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
include/net/ppp_defs.h