Peter M. Groen
/
libmodbus
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code »
Commit
ab57e6dfdaef74bd6d7df14fb27ea91b76fc663e
Authored by
Stéphane Raimbault
2010-12-05 00:48:59 +0100
1 parent
614ff1dc
Fix segfault in bandwidth-server-many-up on inet_ntoa() call
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
tests/bandwidth-server-many-up.c
tests/bandwidth-server-many-up.c
View file @
ab57e6d
...
...
@@ -28,6 +28,8 @@
28
28
#include <ws2tcpip.h>
29
29
#else
30
30
#include <netinet/in.h>
31
+/* Required by inet_ntoa() to avoid a segfault! */
32
+#include <arpa/inet.h>
31
33
#endif
32
34
33
35
#define NB_CONNECTION 5
...
...