From 0d004db25edd42f6720f48eedc51f68a781278db Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Fri, 4 Oct 2019 08:31:48 +1000 Subject: [PATCH] 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 --- include/net/ppp_defs.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/net/ppp_defs.h b/include/net/ppp_defs.h index ed04486..b06eda5 100644 --- a/include/net/ppp_defs.h +++ b/include/net/ppp_defs.h @@ -35,8 +35,6 @@ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include - #ifndef _PPP_DEFS_H_ #define _PPP_DEFS_H_ -- 2.39.2