LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File ste-0.4.0-ste-uncrustify_includes.patch of Package ste (Project home:zhonghuaren)

Description: Add missing includes.
Author: Kyrill Detinov <lazy.kent@opensuse.org>
Index: application/3rdparty/uncrustify/src/uncrustify.cpp
===================================================================
--- application/3rdparty/uncrustify/src/uncrustify.cpp.orig
+++ application/3rdparty/uncrustify/src/uncrustify.cpp
@@ -28,9 +28,8 @@
 #include <cerrno>
 #include <fcntl.h>
 #include "unc_ctype.h"
-#ifdef HAVE_SYS_STAT_H
+#include <sys/types.h>
 #include <sys/stat.h>
-#endif
 #ifdef HAVE_STRINGS_H
 #include <strings.h>  /* strcasecmp() */
 #endif