--- gnome-terminal/gnome-utmp.c +++ gnome-terminal/gnome-utmp.c @@ -33,8 +33,6 @@ # endif #endif -#include - #if defined(HAVE_LASTLOG_H) # include #endif @@ -45,6 +43,8 @@ #if defined(HAVE_UTMPX_H) # include +#else +# include #endif #if defined(HAVE_TTYENT_H)