diff --git a/src/include/regex/regex.h b/src/include/regex/regex.h
index 8944cf1b062f982a108d1c2e2d80e6d70cd2e12c..0c4ef422a2383e880838fa8cdc77bfac70c4660e 100644
--- a/src/include/regex/regex.h
+++ b/src/include/regex/regex.h
@@ -40,11 +40,7 @@
 #ifndef _REGEX_H_
 #define	_REGEX_H_
 
-#include <assert.h>
-
-/* #include <sys/cdefs.h> */
-/* since not all systems have cdefs.h, we'll use our own here - jolly */
-#include "cdefs.h"
+#include <sys/types.h>
 
 /* types */
 typedef off_t regoff_t;