Skip to content
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

Always #include <ruby.h> before any system header #89

Merged
merged 3 commits into from
Jan 9, 2024

Conversation

eregon
Copy link
Contributor

@eregon eregon commented Jan 8, 2024

  • Fixes -std=c99 is disabling struct timespec #88,
    the issue explains it in details.
  • #include "extconf.h" is redundant and a code smell for missing ruby.h,
    ruby/internal/config.h already does #include RUBY_EXTCONF_H.

Types of Changes

  • Bug fix.

Contribution

eregon added 3 commits January 8, 2024 13:48
* Fixes socketry#88,
  the issue explains it in details.
* `#include "extconf.h"` is redundant and a code smell for missing ruby.h,
  ruby/internal/config.h already does `#include RUBY_EXTCONF_H`.
Copy link
Member

@ioquatix ioquatix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the investigation.

@ioquatix ioquatix merged commit 3e77fd1 into socketry:main Jan 9, 2024
27 of 31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

-std=c99 is disabling struct timespec
2 participants