projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix bit shifting arithmetic so the code actually does what the last commit message...
[tinc]
/
src
/
have.h
diff --git
a/src/have.h
b/src/have.h
index
e00c7f7
..
396143d
100644
(file)
--- a/
src/have.h
+++ b/
src/have.h
@@
-1,7
+1,7
@@
/*
have.h -- include headers which are known to exist
Copyright (C) 1998-2005 Ivo Timmermans
/*
have.h -- include headers which are known to exist
Copyright (C) 1998-2005 Ivo Timmermans
- 2003-201
1
Guus Sliepen <guus@tinc-vpn.org>
+ 2003-201
5
Guus Sliepen <guus@tinc-vpn.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-38,6
+38,7
@@
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
+#include <limits.h>
#ifdef HAVE_MINGW
#include <w32api.h>
#ifdef HAVE_MINGW
#include <w32api.h>
@@
-195,4
+196,19
@@
#include <netinet/if_ether.h>
#endif
#include <netinet/if_ether.h>
#endif
+#ifdef HAVE_ARPA_NAMESER_H
+#include <arpa/nameser.h>
+#ifdef STATUS
+#undef STATUS
+#endif
+#endif
+
+#ifdef HAVE_RESOLV_H
+#include <resolv.h>
+#endif
+
+#ifdef HAVE_LINUX_IF_TUN_H
+#include <linux/if_tun.h>
+#endif
+
#endif /* __TINC_SYSTEM_H__ */
#endif /* __TINC_SYSTEM_H__ */