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

fix cb macro #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix cb macro #28

wants to merge 1 commit into from

Conversation

mjolk
Copy link

@mjolk mjolk commented Jul 2, 2019

The callback macro gets confused by the argument naming.

Copy link

@larseggert larseggert left a comment

Choose a reason for hiding this comment

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

Ran into the same issue, and this fixes it

timeout.c Outdated
@@ -35,7 +35,7 @@

#include <errno.h> /* errno */

#include <sys/queue.h> /* TAILQ(3) */
#include <queue.h> /* TAILQ(3) */

Choose a reason for hiding this comment

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

This doesn't exist on my archlinux system.

Copy link
Author

Choose a reason for hiding this comment

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

This is a change that should not be in this pull request my bad.
I'm using a different version ( freebsd) of queue.h instead of sys/queue.h
I'm using this branch in some project.
For now until i fix this you should just use sys/queue.h

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.

3 participants