Skip to content

Commit

Permalink
Moving unistd in the example to the windows check
Browse files Browse the repository at this point in the history
  • Loading branch information
manchicken committed Oct 9, 2024
1 parent a2d72ee commit ce05f8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/amqp_confirm_select.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

#include <rabbitmq-c/amqp.h>
#include <rabbitmq-c/tcp_socket.h>
Expand All @@ -24,6 +23,7 @@
#include <winsock2.h>
#else
#include <sys/time.h>
#include <unistd.h>
#endif

#define SUMMARY_EVERY_US 5000
Expand Down

0 comments on commit ce05f8c

Please sign in to comment.