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

tunslip6: gettimeofday needs sys/time.6 #11

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

Conversation

agx
Copy link

@agx agx commented Jan 16, 2017

This fixes:

$ make tunslip6
cc tunslip6.c tools-utils.c -o tunslip6
tunslip6.c: In function ‘stamptime’:
tunslip6.c:134:3: warning: implicit declaration of function
‘gettimeofday’ [-Wimplicit-function-declaration]
gettimeofday(&tv, NULL) ;
^~~~~~~~~~~~

This fixes:

  $ make tunslip6
  cc     tunslip6.c tools-utils.c   -o tunslip6
  tunslip6.c: In function ‘stamptime’:
  tunslip6.c:134:3: warning: implicit declaration of function
  ‘gettimeofday’ [-Wimplicit-function-declaration]
     gettimeofday(&tv, NULL) ;
     ^~~~~~~~~~~~
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.

None yet

1 participant