summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2011-08-22 10:12:54 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2011-08-22 10:17:01 +0200
commit383dfc907b84f3aac6df216726e377106d51edcd (patch)
tree081d451467897db384d9af73137505fd44c7eda7
parent5c15c4ff4375ccf0de668c3d6f4ba76c4bf53784 (diff)
don't assume sys/types is in /usr/include
this breaks on multilib systems. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--common/stdafx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/stdafx.h b/common/stdafx.h
index e6bf9dd..fb3c2d7 100644
--- a/common/stdafx.h
+++ b/common/stdafx.h
@@ -27,7 +27,7 @@
// For Linux systems only, types.h only defines the signed
// integer types. This is not professional code.
// Update: They are defined in the header files in the more recent version of redhat enterprise gcc.
-#include "/usr/include/sys/types.h"
+#include <sys/types.h>
#include <stdint.h>
//typedef unsigned long uint32_t;
//typedef unsigned short uint16_t;