]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/termios_linux.h
The use of <net/ppp_defs.h> isn't guranteed to exist on Linux (e.g. uclibc, buildroot...
[ppp.git] / pppd / termios_linux.h
index 9c79d16974f97d84e71ebb6cd645cdb11c3764d1..a234d305425b3da130b26d4f668f5162eb57a0f3 100644 (file)
@@ -6,8 +6,10 @@
  * Copyright (c) 2021 Marek BehĂșn <kabel@kernel.org>
  */
 
-#ifndef _TERMIOS_LINUX_H_
-#define _TERMIOS_LINUX_H_
+#ifndef PPP_TERMIOS_LINUX_H
+#define PPP_TERMIOS_LINUX_H
+
+#include "pppdconf.h"
 
 /*
  * We need to use raw TCGETS2/TCSETS2 or TCGETS/TCSETS ioctls with the BOTHER
@@ -191,4 +193,4 @@ static void cfmakeraw(struct termios *t)
        t->c_cflag |= CS8;
 }
 
-#endif /* _TERMIOS_LINUX_H_ */
+#endif /* PPP_TERMIOS_LINUX_H */