mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Added ede-bell-conf, a tool to configure system bell (that annoying beep thing)
Rest are changes so can nicely be compiled on freebsd Also, some changes are in coding style
This commit is contained in:
@ -10,12 +10,17 @@
|
||||
* See COPYING for the details.
|
||||
*/
|
||||
|
||||
#include "Fortune.h"
|
||||
|
||||
#include <netinet/in.h>
|
||||
#include <ctype.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "Fortune.h"
|
||||
|
||||
/* FreeBSD does not have off_t, not sure about others */
|
||||
#ifndef __GLIBC__
|
||||
typedef unsigned int off_t;
|
||||
#endif
|
||||
|
||||
struct FortuneFile {
|
||||
FILE* str_file;
|
||||
FILE* dat_file;
|
||||
|
Reference in New Issue
Block a user