Skip to content

Commit

Permalink
mxqsub: Cleanup missing includes and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mariux committed May 21, 2015
1 parent af7dac7 commit 5f95040
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -339,10 +339,12 @@ clean: CLEAN += mxqd.o
### mxqsub.o -------------------------------------------------------

mxqsub.o: $(mx_getopt.h)
mxqsub.o: $(mxq_util.h)
mxqsub.o: $(mx_util.h)
mxqsub.o: $(mx_log.h)
mxqsub.o: $(mx_mysql.h)
mxqsub.o: $(mxq_group.h)
mxqsub.o: $(mxq_job.h)
mxqsub.o: $(mxq_util.h)
mxqsub.o: CFLAGS += $(CFLAGS_MYSQL)
mxqsub.o: CFLAGS += $(CFLAGS_MXQ_MYSQL_DEFAULT_FILE)

Expand Down
8 changes: 8 additions & 0 deletions mxqsub.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,16 @@

#include <inttypes.h>

#include <sys/time.h>
#include <sys/resource.h>

#include <string.h>

#include "mxq_util.h"

#include "mxq_group.h"
#include "mxq_job.h"

#include "mx_log.h"
#include "mx_util.h"
#include "mx_getopt.h"
Expand Down

0 comments on commit 5f95040

Please sign in to comment.