Skip to content
Permalink
Browse files

added typedef n_time for OS without n_time type

  • Loading branch information...
allfro committed Jul 23, 2014
1 parent b2fa552 commit 67cd7b84179def8b7d88ce1456dec3984aa9ea59
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/builders.c
@@ -722,6 +722,9 @@ context_build_icmpv4_timestamp (context *self, PyObject *args, PyObject *kwargs)
u_int16_t sum = 0;
u_int16_t id = PYLIBNET_RANDOM_U16;
u_int16_t seq = PYLIBNET_RANDOM_U16;
#ifndef n_time
typedef u_int32_t n_time;
#endif
n_time otime = PYLIBNET_RANDOM_U32;
n_time rtime = PYLIBNET_RANDOM_U32;
n_time ttime = PYLIBNET_RANDOM_U32;

0 comments on commit 67cd7b8

Please sign in to comment.
You can’t perform that action at this time.