Description: use necessary source dialect to ensure getpass() availability getpass is a deprecated function, and building with either c99 or gnu99 does not ensure this function's availability. So instead, declare _DEFAULT_SOURCE so that the function remains available. Author: Steve Langasek Origin: , Bug: Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=819340 Last-Update: 2016-04-13 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ Index: trunk/lib/ipmi_main.c =================================================================== --- trunk.orig/lib/ipmi_main.c +++ trunk/lib/ipmi_main.c @@ -30,6 +30,7 @@ * EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. */ #define _XOPEN_SOURCE 700 +#define _DEFAULT_SOURCE #include #include