mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
Issue #144 Add `#define _POSIX_C_SOURCE 200809L` to avoid the error below: ../src/cursor.c: In function 'cursor_update_focus': ../src/cursor.c:271:2: warning: implicit declaration of function 'clock_gettime' [-Wimplicit-function-declaration] 271 | clock_gettime(CLOCK_MONOTONIC, &now); | ^~~~~~~~~~~~~ ../src/cursor.c:271:16: error: 'CLOCK_MONOTONIC' undeclared (first use in this function) 271 | clock_gettime(CLOCK_MONOTONIC, &now); | ^~~~~~~~~~~~~~~ ../src/cursor.c:271:16: note: each undeclared identifier is reported only once for each function it appears in ../src/cursor.c: In function 'is_double_click': ../src/cursor.c:486:16: error: 'CLOCK_MONOTONIC' undeclared (first use in this function) 486 | clock_gettime(CLOCK_MONOTONIC, &now); | ^~~~~~~~~~~~~~~ |
||
|---|---|---|
| .. | ||
| common | ||
| config | ||
| menu | ||
| xbm | ||
| action.c | ||
| cursor.c | ||
| damage.c | ||
| desktop.c | ||
| foreign.c | ||
| interactive.c | ||
| key-state.c | ||
| keyboard.c | ||
| layers.c | ||
| main.c | ||
| meson.build | ||
| osd.c | ||
| output.c | ||
| resistance.c | ||
| seat.c | ||
| server.c | ||
| ssd.c | ||
| subsurface.c | ||
| theme.c | ||
| view-child.c | ||
| view-impl.c | ||
| view.c | ||
| xdg-deco.c | ||
| xdg-popup.c | ||
| xdg.c | ||
| xwayland-unmanaged.c | ||
| xwayland.c | ||