File: fix-FTBFS-on-GNU-kFreeBSD-GNU-Hurd.patch

package info (click to toggle)
boxes 1.1.1-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 740 kB
  • ctags: 755
  • sloc: ansic: 4,861; yacc: 733; lex: 502; makefile: 141; lisp: 61
file content (20 lines) | stat: -rw-r--r-- 486 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Fix FTBFS on GNU/kFreeBSD and GNU/Hurd
Origin: vendor
Bug-Debian: http://bugs.debian.org/401741
Forwarded: yes
Author: Petr Salinger <Petr.Salinger@seznam.cz>
Author: Cyril Brulebois <kibi@debian.org>
Reviewed-by: Salvatore Bonaccorso <carnil@debian.org>
Last-Update: 2012-10-21

--- a/src/config.h
+++ b/src/config.h
@@ -44,7 +44,7 @@
 #define CONFIG_H
 
 
-#if defined(__linux__)
+#if defined(__linux__) || defined(__GLIBC__) || defined(__GNU__)
 
 #define _GNU_SOURCE