From 2c18879814fa01d3bd9de69625c8ff1791f793b6 Mon Sep 17 00:00:00 2001 From: OBATA Akio Date: Thu, 18 Apr 2019 18:40:08 +0900 Subject: [PATCH] Change to just include over Including deprecated over standard may cause unwanted side effects, for example, enables old-code-compatibility functions and override utmpx functions. Signed-off-by: OBATA Akio --- ktalkd/ktalkd/includ.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ktalkd/ktalkd/includ.h b/ktalkd/ktalkd/includ.h index 923b452d..f26d21be 100644 --- a/ktalkd/ktalkd/includ.h +++ b/ktalkd/ktalkd/includ.h @@ -55,11 +55,10 @@ #define NEW_CTL_RESPONSE CTL_RESPONSE #include "otalkd.h" -#ifdef HAVE_UTMP_H -#include -#endif #ifdef HAVE_UTMPX_H #include +#elif defined HAVE_UTMP_H +#include #endif #ifndef UT_LINESIZE #define UT_LINESIZE 12