Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix build with GCC 4.7 #5

Merged
merged 1 commit into from

2 participants

@ilpianista

No description provided.

@match065 match065 merged commit 60f1e87 into from
@match065
Owner

I see. I checked the man page and it says it requires unistd.h. Not sure why it compiles good in my side.

Let me think of a better way to encapsulate this later. Let's leave it as-is now.

Thanks for the patch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 29, 2012
  1. @ilpianista

    Fix build with GCC 4.7

    ilpianista authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/main.cc
View
1  src/main.cc
@@ -25,6 +25,7 @@
#include <cstdlib>
#include <fstream>
#include <iostream>
+#include <unistd.h>
#include <iterator>
#include <exception>
Something went wrong with that request. Please try again.