diff --git a/scripts/grab-upstream.sh b/scripts/grab-upstream.sh index 00c35dd8f..f1f845e9d 100755 --- a/scripts/grab-upstream.sh +++ b/scripts/grab-upstream.sh @@ -51,6 +51,9 @@ if test -n "$(git status --porcelain)"; then echo " 2. Run scripts/grab-upstream.sh from the top-level directory" echo " 3. Submit the result as a pull request" echo + echo "If you must apply patches, please do it in grab-upstream.sh so that" + echo "these patches are described programmatically." + echo } 1>&2 exit 1 fi diff --git a/v3.2/glfw/glfw/src/wl_window.c b/v3.2/glfw/glfw/src/wl_window.c index 6abc5a4dd..cf75ec828 100644 --- a/v3.2/glfw/glfw/src/wl_window.c +++ b/v3.2/glfw/glfw/src/wl_window.c @@ -24,6 +24,8 @@ // //======================================================================== +#define _GNU_SOURCE + #include "internal.h" #include