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

need unistd.h #3

Open
guidotorresmx opened this issue Apr 6, 2017 · 3 comments
Open

need unistd.h #3

guidotorresmx opened this issue Apr 6, 2017 · 3 comments

Comments

@guidotorresmx
Copy link

I had to add #include <unistd.h> in PlayBackWindow.cpp because of an issue related to the usage of usleep(SLEEP_MILLIS*1000); in line 340.
im under linux mint 18

@airfield20
Copy link

airfield20 commented Jun 21, 2018

I can confirm adding #include <unistd.h> fixes the build in ubuntu 16.04.

@matthewgkerr
Copy link

I can confirm adding #include <unistd.h> fixes the build in ubuntu 20.04.

@blackham
Copy link

blackham commented Jun 6, 2022

Confirmed. Still works. arch linux

PlaybackWindow.cpp looks like:

#include <stdio.h>
#include <pcap.h>
#include <pthread.h>
#include <unistd.h>
 
#include "PlaybackWindow.h"
#include "InterfaceWindow.h"
#include "AboutWindow.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

No branches or pull requests

4 participants