Unverified Commit 89676093 authored by Jeff Brown's avatar Jeff Brown Committed by GitHub
Browse files

Update imlib.c to #define _GNU_SOURCE

added an if statement and comments
parent 30b5bab4
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -23,7 +23,14 @@ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

*/

/*
 * mkstemps(3) is a nonstandard extension that requires defining
 * _GNU_SOURCE for glibc
 */
#ifdef HAVE_GNU
#define _GNU_SOURCE
#endif

#include "feh.h"
#include "filelist.h"