X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fhelper%2Fsystem.h;h=0d8be648cb927c976d2d719041f6ce9924c8b2ef;hp=a6dfd7ec1dd8bb25b268a754a8ac971f0081b1a1;hb=87c90393fedc8bb278d189aa53bcd93f4892012b;hpb=c1c4a6dd7f5f08cd801a323f1473d1a92543e336
diff --git a/src/helper/system.h b/src/helper/system.h
index a6dfd7ec1d..0d8be648cb 100644
--- a/src/helper/system.h
+++ b/src/helper/system.h
@@ -15,13 +15,20 @@
* 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
+
+/* +++ platform specific headers +++ */
+#ifdef _WIN32
+#include
+#include
+#include
+#include
+#endif
+/* --- platform specific headers --- */
/* standard C library header files */
#include
@@ -30,28 +37,11 @@
#include
#include
#include
+#include
-/* +++ AC_HEADER_TIME +++ */
-#ifdef TIME_WITH_SYS_TIME
-# include
-# include
-#else
-# ifdef HAVE_SYS_TIME_H
-# include
-# else
-# include
-# endif
+#ifdef HAVE_SYS_TIME_H
+#include
#endif
-/* --- AC_HEADER_TIME --- */
-
-/* +++ platform specific headers +++ */
-#ifdef _WIN32
-#include
-#include
-#include
-#include
-#endif
-/* --- platform specific headers --- */
#ifdef HAVE_SYS_SOCKET_H
#include
@@ -88,4 +78,4 @@
#define false 0
#endif
-#endif /* SYSTEM_H */
+#endif /* OPENOCD_HELPER_SYSTEM_H */