chiark / gitweb /
Source code reorganization:
[disorder] / lib / common.h
similarity index 92%
rename from lib/types.h
rename to lib/common.h
index 6b3dc37adbcdc386cb2a4391aa4923effd9ac9b4..77a2cd9ccca803fb99028fb2150b14148d9a6993 100644 (file)
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
  * USA
  */
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
  * USA
  */
+/** @file lib/common.h
+ * @brief Common includes and definitions
+ */
+
+#ifndef COMMON_H
+#define COMMON_H
 
 
-#ifndef TYPES_H
-#define TYPES_H
+#include <config.h>
 
 #if HAVE_INTTYPES_H
 # include <inttypes.h>
 
 #if HAVE_INTTYPES_H
 # include <inttypes.h>
@@ -29,6 +34,9 @@
 
 /* had better be before atol/atoll redefinition */
 #include <stdlib.h>
 
 /* had better be before atol/atoll redefinition */
 #include <stdlib.h>
+#include <string.h>
+#include <stdio.h>
+#include <assert.h>
 
 #if HAVE_LONG_LONG
 typedef long long long_long;
 
 #if HAVE_LONG_LONG
 typedef long long long_long;
@@ -104,7 +112,7 @@ typedef unsigned char uint32_t;
 # endif
 #endif
 
 # endif
 #endif
 
-#endif /* TYPES_H */
+#endif /* COMMENT_H */
 
 /*
 Local Variables:
 
 /*
 Local Variables: