Lukas Fleischer 6e490e979c src/sigs.c: Define "_BSD_SOURCE" and "__BSD_VISIBLE"
SIGWINCH isn't POSIX-compatible and causes a compile error on several
platforms, such as OpenBSD:

    sigs.c: In function 'generic_hdlr':
    sigs.c:63: error: 'SIGWINCH' undeclared (first use in this function)
    sigs.c:63: error: (Each undeclared identifier is reported only once
    sigs.c:63: error: for each function it appears in.)
    sigs.c: In function 'sigs_init':
    sigs.c:97: error: 'SIGWINCH' undeclared (first use in this function)
    *** Error code 1

Define "_BSD_SOURCE" explicitly in this compilation unit to enforce
definition of the "SIGWINCH" constant. Also, set "__BSD_VISIBLE" to 1
since FreeBSD doesn't honor "_BSD_SOURCE".

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2012-06-01 11:21:46 +02:00
..
2012-05-21 10:13:05 +02:00
2012-05-31 20:30:46 +02:00
2012-05-21 10:13:05 +02:00
2012-05-31 20:30:46 +02:00
2012-05-21 10:13:05 +02:00
2012-05-21 10:13:05 +02:00
2012-05-31 20:27:43 +02:00
2012-05-21 10:13:05 +02:00
2012-05-21 10:13:05 +02:00
2012-05-31 20:27:43 +02:00
2012-05-31 20:27:43 +02:00
2012-05-21 10:13:05 +02:00
2012-05-21 10:13:05 +02:00
2012-05-21 10:13:05 +02:00
2012-05-21 10:13:05 +02:00
2012-05-21 10:13:05 +02:00
2012-05-23 22:26:05 +02:00
2012-05-21 10:13:05 +02:00
2012-05-21 10:13:05 +02:00
2012-05-21 10:13:05 +02:00
2012-05-21 10:13:05 +02:00
2012-05-31 20:27:43 +02:00
2012-05-21 10:13:05 +02:00