diff options
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%252525252525252525252525253fid%252525252525252525252525253d844d35e851b5ef51bc8c0822dbd699b619ddd194%2525252525252525252525253fid%2525252525252525252525253dfa1f0a5c44ae059d36fe8e0a384356131f51b9ec%25252525252525252525253fid%25252525252525252525253df44b307e22e79beda91abaa3c417932c1d567bd0%252525252525252525253fid%252525252525252525253df44b307e22e79beda91abaa3c417932c1d567bd0%2525252525252525253fid%2525252525252525253d102278182159d51c1417716536358540010a0f8e%25252525252525253fid%25252525252525253d9be3a9c1f09448652e7b91e6722968ac79f5aa4d%252525252525253fid%252525252525253d2afa0db66f14f4adc9e0f76b893ee0dc580ad557%2525252525253fid%2525252525253d2afa0db66f14f4adc9e0f76b893ee0dc580ad557%25252525253fid%25252525253d2afa0db66f14f4adc9e0f76b893ee0dc580ad557%252525253fid%252525253d2afa0db66f14f4adc9e0f76b893ee0dc580ad557%2525253fid%2525253d2afa0db66f14f4adc9e0f76b893ee0dc580ad557%25253fid%25253d0d50e4539f860c9605300cd71b77f593dac2bdce%253fid%253d0d50e4539f860c9605300cd71b77f593dac2bdce&id2%253d6e490e979cf5cbb107b651010e2ddd984dcdcc5c%3fid%3d0d50e4539f860c9605300cd71b77f593dac2bdce?id=6e490e979cf5cbb107b651010e2ddd984dcdcc5c')
0 files changed, 0 insertions, 0 deletions