]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
fix build on FreeBSD: readline headers imply stdio.h is included prior
authorBoris Lytochkin <lytboris@yandex-team.ru>
Wed, 9 Nov 2016 19:03:03 +0000 (22:03 +0300)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 10 Nov 2016 14:50:35 +0000 (09:50 -0500)
including readline.h

src/main/radmin.c

index 5792fdd3626d45913a9532c979fd7805b6c24870..5c0a800d39009f268c261462c58fd6e2efee6223 100644 (file)
@@ -40,6 +40,7 @@ RCSID("$Id$")
 
 #ifdef HAVE_LIBREADLINE
 
+# include <stdio.h>
 #if defined(HAVE_READLINE_READLINE_H)
 #  include <readline/readline.h>
 #  define USE_READLINE (1)