X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fhelper%2Fsystem.h;h=97b3443bedb543ac5351ffd0a82fa0aa91ad3236;hb=076802606a46dc2fe03946ab686467593e35a3d8;hp=f710cfb5c5ac5717ca6fe975d027e844ba9d980b;hpb=08d4411b59dd8bd0e7d8009003b71d23acbf6eee;p=openocd.git diff --git a/src/helper/system.h b/src/helper/system.h index f710cfb5c5..97b3443bed 100644 --- a/src/helper/system.h +++ b/src/helper/system.h @@ -15,13 +15,11 @@ * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * + * along with this program. If not, see . * ***************************************************************************/ -#ifndef SYSTEM_H -#define SYSTEM_H +#ifndef OPENOCD_HELPER_SYSTEM_H +#define OPENOCD_HELPER_SYSTEM_H /* standard C library header files */ #include @@ -56,8 +54,8 @@ #ifdef HAVE_SYS_SOCKET_H #include #endif -#ifdef HAVE_SYS_POLL_H -#include +#ifdef HAVE_POLL_H +#include #endif #ifdef __ECOS @@ -88,4 +86,4 @@ #define false 0 #endif -#endif /* SYSTEM_H */ +#endif /* OPENOCD_HELPER_SYSTEM_H */