diff options
author | Dave Davenport <qball@gmpclient.org> | 2014-08-22 09:26:46 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2014-08-22 09:27:45 +0200 |
commit | 62d4f0cdad8ce1bbac6ad2279c707a92e36ee57e (patch) | |
tree | 91a2028208926846101a9594fb10e60cd090b2f3 /source/history.c | |
parent | 06b274c9d907b334656a467a0510dd88309d575d (diff) |
Make rofi compile happily under clang.
* Set features in configure.ac
* use config.h file, instead of hardcoded _GNU_SOURCE
in each c file.
* Fix mix up unsigned/signed.
Diffstat (limited to 'source/history.c')
-rw-r--r-- | source/history.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/history.c b/source/history.c index 49c6c393..faacb001 100644 --- a/source/history.c +++ b/source/history.c @@ -24,9 +24,10 @@ * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * */ +#include <config.h> +#include <stdlib.h> #include <stdio.h> #include <string.h> -#include <stdlib.h> #include <unistd.h> #include <sys/types.h> #include <errno.h> |