Skip to content

Commit

Permalink
Merge pull request #4 from Da5hes/patch-1
Browse files Browse the repository at this point in the history
fix compiling on osx
  • Loading branch information
MarioVilas authored Oct 5, 2020
2 parents 4bfe595 + 2222e6a commit 2dc8f01
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/parser.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
#include <sys/types.h>
#include <stdint.h>

// fix compiling on OSX
#if defined(__APPLE__)
#define MSG_NOSIGNAL 0
#endif

// Base command IDs per category.
#define BASE_CMD_SYSTEM 0x0000
#define BASE_CMD_FILE 0x0100
Expand Down

0 comments on commit 2dc8f01

Please sign in to comment.