Просмотр исходного кода

lib/parse_ini.c: fix gcc warning: implicit declaration of function

'idpriv_temp_drop' and 'idpriv_temp_restore'

Manual implementation of pull request https://github.com/nagios-plugins/nagios-plugins/pull/208
John C. Frickson 9 лет назад
Родитель
Сommit
7f2c3e65ae
2 измененных файлов с 2 добавлено и 0 удалено
  1. 1 0
      NEWS
  2. 1 0
      lib/parse_ini.c

+ 1 - 0
NEWS

@@ -25,6 +25,7 @@ This file documents the major additions and syntax changes between releases.
 	check_dns: reports TXT records incorrectly
 	check_dns: reports TXT records incorrectly
 	check_file_age: does not handle filenames WITHOUT space!
 	check_file_age: does not handle filenames WITHOUT space!
 	de,fr.po: fix syntax errors end-of-line within string
 	de,fr.po: fix syntax errors end-of-line within string
+	lib/parse_ini.c: fix gcc warning: implicit declaration of function ‘idpriv_temp_drop’ and ‘idpriv_temp_restore’
 
 
 
 
 2.1.4 2016-11-17
 2.1.4 2016-11-17

+ 1 - 0
lib/parse_ini.c

@@ -24,6 +24,7 @@
 #include "common.h"
 #include "common.h"
 #include "utils_base.h"
 #include "utils_base.h"
 #include "parse_ini.h"
 #include "parse_ini.h"
+#include "../gl/idpriv.h"
 #include <ctype.h>
 #include <ctype.h>
 
 
 #include <sys/types.h>
 #include <sys/types.h>