]> git.ozlabs.org Git - ppp.git/commitdiff
Change include from sys/errno.h to errno.h
authorStefan Nickl <Stefan.Nickl@gmail.com>
Wed, 10 Aug 2016 19:32:21 +0000 (21:32 +0200)
committerStefan Nickl <Stefan.Nickl@gmail.com>
Wed, 10 Aug 2016 19:32:21 +0000 (21:32 +0200)
According to POSIX, the canonical location for errno.h is on the top level.

Signed-off-by: Stefan Nickl <Stefan.Nickl@gmail.com>
pppd/sys-linux.c

index b4a435d2a99368bdb48316c798961f1be8f08147..20b42ac3e80c8f60ba6417ae2b265355c2515057 100644 (file)
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/time.h>
-#include <sys/errno.h>
 #include <sys/file.h>
 #include <sys/stat.h>
 #include <sys/utsname.h>
 #include <sys/sysmacros.h>
 
+#include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <syslog.h>