Skip to content

Commit

Permalink
Fix test compiling in Linux
Browse files Browse the repository at this point in the history
Fixes obdev#11
  • Loading branch information
mexchip committed Nov 1, 2019
1 parent 9a42d20 commit adb685f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/drivertest/commandline/runtest.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ General Description:

#define uchar unsigned char

#if defined(__linux__)
#define srandomdev()
#endif

static void hexdump(char *_buffer, int len, FILE *fp)
{
int i;
Expand Down

0 comments on commit adb685f

Please sign in to comment.