-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make xbanish C99 compliant #70
base: master
Are you sure you want to change the base?
Conversation
xbanish.c
Outdated
#include <X11/Xlib.h> | ||
#include <X11/Intrinsic.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, I remember getting a failed compilation report due to this. It includes the header but doesn't actually link against the library.
https://bugs.gentoo.org/806258#c3
@@ -15,16 +15,17 @@ | |||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | |||
*/ | |||
|
|||
#define _POSIX_C_SOURCE 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO it's better to define feature test macros in the Makefile under CPPFLAGS
variable. But since it's a single file source, probably doesn't matter much.
damn, and I remember going over the diff multiple times making sure I didnt accidentally pull in more junk after writing out the original alarm related signal mess. shame. must've steered too much on suggested changes |
Co-authored-by: N-R-K <nrk@disroot.org>
Should be fine to merge now. |
No description provided.