summaryrefslogtreecommitdiff
path: root/ssh-pkcs11-helper.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2010-02-12 09:49:06 +1100
committerDamien Miller <djm@mindrot.org>2010-02-12 09:49:06 +1100
commit8ad0fbd98e5ffd98c25f88881981336508ae90d7 (patch)
treeb5819c4170a242ac70fec9488869e9bb22508175 /ssh-pkcs11-helper.c
parentd8f60022727f1d57efe7261b856d5e84a4b28cbe (diff)
downloadopenssh-git-8ad0fbd98e5ffd98c25f88881981336508ae90d7.tar.gz
- (djm) [ssh-pkcs11-client.c ssh-pkcs11-helper.c ssh-pkcs11.c]
Make it compile on OSX
Diffstat (limited to 'ssh-pkcs11-helper.c')
-rw-r--r--ssh-pkcs11-helper.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/ssh-pkcs11-helper.c b/ssh-pkcs11-helper.c
index f9962709..46420964 100644
--- a/ssh-pkcs11-helper.c
+++ b/ssh-pkcs11-helper.c
@@ -14,9 +14,14 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <sys/queue.h>
+#include "includes.h"
+
#include <sys/types.h>
-#include <sys/time.h>
+#ifdef HAVE_SYS_TIME_H
+# include <sys/time.h>
+#endif
+
+#include "openbsd-compat/sys-queue.h"
#include <stdarg.h>
#include <string.h>