Skip to content

Commit

Permalink
fix compatibility on freebsd
Browse files Browse the repository at this point in the history
  • Loading branch information
cofyc committed Nov 16, 2013
1 parent adf324d commit e5ef3c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ LIB_OBJS += pidfile.o
LDADD += argparse/libargparse.a

argparse/libargparse.a: argparse/argparse.h
@make -C argparse libargparse.a
@$(MAKE) -C argparse libargparse.a

argparse/argparse.h:
git submodule update --init argparse
Expand Down
1 change: 1 addition & 0 deletions compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
#include <arpa/inet.h>
#include <sys/queue.h>
#include <netinet/tcp.h>
#include <netinet/in.h>

#define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[1]))
#define COMPILER_ASSERT(X) (void) sizeof(char[(X) ? 1 : -1])
Expand Down

0 comments on commit e5ef3c2

Please sign in to comment.