summaryrefslogtreecommitdiff
path: root/scripts%25252525253fid%25252525253d2afa0db66f14f4adc9e0f76b893ee0dc580ad557%2...
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2012-06-01 10:45:23 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2012-06-01 11:21:46 +0200
commit6e490e979cf5cbb107b651010e2ddd984dcdcc5c (patch)
treee2b796c4a847729addc59b9c84abd4bf767ca7e8 /scripts%25252525253fid%25252525253d2afa0db66f14f4adc9e0f76b893ee0dc580ad557%252525253fid%252525253d0d50e4539f860c9605300cd71b77f593dac2bdce%2525253fid%2525253d0d50e4539f860c9605300cd71b77f593dac2bdce&id2%2525253d6e490e979cf5cbb107b651010e2ddd984dcdcc5c%25253fid%25253d0d50e4539f860c9605300cd71b77f593dac2bdce%253fid%253d6e490e979cf5cbb107b651010e2ddd984dcdcc5c%3fid%3d6e490e979cf5cbb107b651010e2ddd984dcdcc5c?id=6e490e979cf5cbb107b651010e2ddd984dcdcc5c
parent8ee853b7485dba5ecce7dbd5393aab7e4c4056ae (diff)
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>
Diffstat (limited to 'scripts%25252525253fid%25252525253d2afa0db66f14f4adc9e0f76b893ee0dc580ad557%252525253fid%252525253d0d50e4539f860c9605300cd71b77f593dac2bdce%2525253fid%2525253d0d50e4539f860c9605300cd71b77f593dac2bdce&id2%2525253d6e490e979cf5cbb107b651010e2ddd984dcdcc5c%25253fid%25253d0d50e4539f860c9605300cd71b77f593dac2bdce%253fid%253d6e490e979cf5cbb107b651010e2ddd984dcdcc5c%3fid%3d6e490e979cf5cbb107b651010e2ddd984dcdcc5c?id=6e490e979cf5cbb107b651010e2ddd984dcdcc5c')
0 files changed, 0 insertions, 0 deletions