Skip to content

[FreeBSD] Include <stdio.h>, needed for printf(). #1484

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

Merged
merged 1 commit into from
Feb 29, 2016
Merged

[FreeBSD] Include <stdio.h>, needed for printf(). #1484

merged 1 commit into from
Feb 29, 2016

Conversation

dcci
Copy link
Member

@dcci dcci commented Feb 29, 2016

What's in this pull request?

The build is currently broken on FreeBSD. This patch is a proposed fix.

Resolved bug number: (SR-)

N/A


Before merging this pull request to apple/swift repository:

  • Test pull request on Swift continuous integration.

Triggering Swift CI

The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:

Smoke Testing

Platform Comment
All supported platforms @swift-ci Please smoke test
OS X platform @swift-ci Please smoke test OS X platform
Linux platform @swift-ci Please smoke test Linux platform

Validation Testing

Platform Comment
All supported platforms @swift-ci Please test
OS X platform @swift-ci Please test OS X platform
Linux platform @swift-ci Please test Linux platform

Note: Only members of the Apple organization can trigger swift-ci.

@@ -15,6 +15,10 @@
#include <atomic>
#include <stdint.h>

#if defined(__FreeBSD__)
#include <stdio.h> // Needed for printf.
Copy link
Contributor

Choose a reason for hiding this comment

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

Please drop the comment. Such comments tend to become stale in no time.

@dcci
Copy link
Member Author

dcci commented Feb 29, 2016

Updated as requested by Dmitri. Thanks!

gribozavr added a commit that referenced this pull request Feb 29, 2016
[FreeBSD] Include <stdio.h>, needed for printf().
@gribozavr gribozavr merged commit e1bd7c9 into swiftlang:master Feb 29, 2016
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.

2 participants