Remove non-standard arithmetic on void *, and get offsetof() from <stddef.h> instead

of rolling our own.

Fixes building on Irix.


git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@110 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Kevin Easton
2011-02-02 12:34:13 +00:00
parent b43ecbaa85
commit 3aa7f7765f
2 changed files with 14 additions and 16 deletions

View File

@@ -22,6 +22,7 @@
#include <stdlib.h>
#include <ctype.h>
#include <stdarg.h>
#include <stddef.h>
/*
* Everybody needs these POSIX headers...