aboutsummaryrefslogtreecommitdiffstats
path: root/xmalloc.c
diff options
context:
space:
mode:
authorokan2009-12-15 04:10:42 +0000
committerokan2009-12-15 04:10:42 +0000
commitfb3ff22ef266df7aab2945a994a190f507cdfc51 (patch)
tree8a1dda09bb120d6f7ebcfbb67cb47159f67e19d7 /xmalloc.c
parentf4f6af9badc27bcc6fa315b54cf03251056e1e40 (diff)
downloadcwm-fb3ff22ef266df7aab2945a994a190f507cdfc51.tar.gz
pull all non-X11 headers from calmwm.h and place them only where they
are required. encourged to go all the way by oga@
Diffstat (limited to '')
-rw-r--r--xmalloc.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/xmalloc.c b/xmalloc.c
index 47df4c0..e225a25 100644
--- a/xmalloc.c
+++ b/xmalloc.c
@@ -15,9 +15,19 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: xmalloc.c,v 1.5 2009/12/15 03:24:36 okan Exp $
+ * $Id: xmalloc.c,v 1.6 2009/12/15 04:10:42 okan Exp $
*/
+#include <sys/param.h>
+#include <sys/queue.h>
+
+#include <err.h>
+#include <errno.h>
+#include <stdlib.h>
+#include <string.h>
+#include <stdio.h>
+#include <unistd.h>
+
#include "calmwm.h"
void *