--- embedaddon/sudo/compat/getline.c 2012/10/09 09:29:52 1.1.1.2 +++ embedaddon/sudo/compat/getline.c 2013/07/22 10:46:11 1.1.1.3 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2010 Todd C. Miller + * Copyright (c) 2009-2010, 2012-2013 Todd C. Miller * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -16,6 +16,8 @@ #include +#ifndef HAVE_GETLINE + #include #include @@ -101,4 +103,5 @@ getline(char **bufp, size_t *bufsizep, FILE *fp) *bufsizep = bufsize; return len; } -#endif +#endif /* HAVE_FGETLN */ +#endif /* HAVE_GETLINE */