]> git.ozlabs.org Git - ppp.git/commit
pppd: Include time.h header before using time_t
authorKurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
Fri, 4 Oct 2019 17:40:46 +0000 (19:40 +0200)
committerPaul Mackerras <paulus@ozlabs.org>
Sun, 1 Dec 2019 05:15:00 +0000 (16:15 +1100)
commit57edb1a0ebf3e25d824b22c75d1d95e0f378f74a
tree60c2273ed3ef90e0ba2353ff6f2ebc5040ed1a77
parentfa3eb036703eb516a0778f7fdcbe47303dd318bb
pppd: Include time.h header before using time_t

Since include/net/ppp_defs.h is used in both kernelspace and userland
it is hard to include <time.h> there.
This commit fixes the problems in userspace code individually and leaves
ppp_defs.h as-is.

Signed-off-by: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
pppd/plugins/rp-pppoe/pppoe-discovery.c
pppd/sha1.c