more missing include fixes

This commit is contained in:
Arvid Norberg 2014-08-16 17:33:25 +00:00
parent 3f88389f05
commit fcf2f6234b
2 changed files with 4 additions and 4 deletions

View File

@ -31,8 +31,6 @@ POSSIBILITY OF SUCH DAMAGE.
*/ */
#include <iterator> #include <iterator>
#include <stdio.h> // for snprintf
#include <stdlib.h> // for atoi
#include "libtorrent/config.hpp" #include "libtorrent/config.hpp"
@ -94,8 +92,8 @@ bool sleep_and_input(int* c, int sleep)
#else #else
#include <stdlib.h> #include <stdio.h> // for snprintf
#include <stdio.h> #include <stdlib.h> // for atoi
#include <termios.h> #include <termios.h>
#include <string.h> #include <string.h>

View File

@ -8,6 +8,8 @@
#include <unistd.h> // for close() #include <unistd.h> // for close()
#include <fcntl.h> // for open() #include <fcntl.h> // for open()
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <stdio.h> // for snprintf
#include <stdlib.h> // for atoi
#endif #endif