From ed70e41229d2c7e4174efffdf47a16e593c1ade7 Mon Sep 17 00:00:00 2001 From: Tom Collins Date: Sat, 14 Mar 2015 18:12:09 -0700 Subject: [PATCH] cleanup: include stdlib.h instead of defining NULL in PRCommon.h --- src/PRCommon.h | 2 -- src/PRHardware.cpp | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/PRCommon.h b/src/PRCommon.h index b748acc..8508761 100644 --- a/src/PRCommon.h +++ b/src/PRCommon.h @@ -37,6 +37,4 @@ void PRLog(PRLogLevel level, const char *format, ...); void PRSetLastErrorText(const char *format, ...); -#define NULL 0 - #endif /* PINPROC_PRCOMMON_H */ diff --git a/src/PRHardware.cpp b/src/PRHardware.cpp index 22d8a7e..a721925 100644 --- a/src/PRHardware.cpp +++ b/src/PRHardware.cpp @@ -28,7 +28,7 @@ * libpinproc */ - +#include #include "PRHardware.h" #include "PRCommon.h"